Navigation
API > API/Runtime > API/Runtime/Voronoi > API/Runtime/Voronoi/FVoronoiDiagram
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Make an empty diagram, to be filled in with a subsequent call to "Initialize()" | Voronoi/Voronoi.h | ||
FVoronoiDiagram
(
const FVoronoiDiagram& Other |
Voronoi/Voronoi.h | ||
FVoronoiDiagram
(
FVoronoiDiagram&& Other |
Voronoi/Voronoi.h | ||
FVoronoiDiagram
(
const TArrayView< const FVector >& Sites, |
Create a Voronoi diagram with the given sites, in a box bounding containing those sites | Voronoi/Voronoi.h | |
FVoronoiDiagram
(
int32 ExpectedNumSites, |
Make a container for a Voronoi diagram without any points. | Voronoi/Voronoi.h | |
FVoronoiDiagram
(
const TArrayView< const FVector >& Sites, |
Create a Voronoi diagram with the given sites, in a given bounding box | Voronoi/Voronoi.h |
FVoronoiDiagram()
Description
Make an empty diagram, to be filled in with a subsequent call to "Initialize()"
| Name | FVoronoiDiagram |
| Type | function |
| Header File | /Engine/Source/Runtime/Experimental/Voronoi/Public/Voronoi/Voronoi.h |
| Include Path | #include "Voronoi/Voronoi.h" |
FVoronoiDiagram()
FVoronoiDiagram(const FVoronoiDiagram &)
| Name | FVoronoiDiagram |
| Type | function |
| Header File | /Engine/Source/Runtime/Experimental/Voronoi/Public/Voronoi/Voronoi.h |
| Include Path | #include "Voronoi/Voronoi.h" |
FVoronoiDiagram
(
const FVoronoiDiagram & Other
)
FVoronoiDiagram(FVoronoiDiagram &&)
| Name | FVoronoiDiagram |
| Type | function |
| Header File | /Engine/Source/Runtime/Experimental/Voronoi/Public/Voronoi/Voronoi.h |
| Include Path | #include "Voronoi/Voronoi.h" |
FVoronoiDiagram
(
FVoronoiDiagram && Other
)
FVoronoiDiagram(const TArrayView< const FVector > &, double, double)
Description
Create a Voronoi diagram with the given sites, in a box bounding containing those sites
| Name | FVoronoiDiagram |
| Type | function |
| Header File | /Engine/Source/Runtime/Experimental/Voronoi/Public/Voronoi/Voronoi.h |
| Include Path | #include "Voronoi/Voronoi.h" |
| Source | /Engine/Source/Runtime/Experimental/Voronoi/Private/Voronoi/Voronoi.cpp |
FVoronoiDiagram
(
const TArrayView < const FVector > & Sites,
double ExtraBoundingSpace,
double SquaredDistSkipPtThreshold
)
Parameters
| Name | Remarks |
|---|---|
| Sites | Voronoi sites for the diagram |
| ExtraBoundingSpace | Voronoi diagram will be computed within the bounding box of the sites + this amount of extra space in each dimension |
| SquaredDistSkipPtThreshold | A safety threshold to avoid creating invalid cells: sites that are within this distance of an already-added site will not be added (If you know there will be no duplicate sites, can set to zero for faster perf.) |
FVoronoiDiagram(int32, const FBox &, double)
Description
Make a container for a Voronoi diagram without any points. Call AddSites() after to finish creating the diagram.
| Name | FVoronoiDiagram |
| Type | function |
| Header File | /Engine/Source/Runtime/Experimental/Voronoi/Public/Voronoi/Voronoi.h |
| Include Path | #include "Voronoi/Voronoi.h" |
| Source | /Engine/Source/Runtime/Experimental/Voronoi/Private/Voronoi/Voronoi.cpp |
FVoronoiDiagram
(
int32 ExpectedNumSites,
const FBox & Bounds,
double ExtraBoundingSpace
)
Parameters
| Name | Remarks |
|---|---|
| ExpectedNumSites | How many sites you expect to add in total |
| Bounds | Bounding box within which to compute the Voronoi diagram |
| ExtraBoundingSpace | Amount to expand the bounding box before computing the Voronoi diagram |
FVoronoiDiagram(const TArrayView< const FVector > &, const FBox &, double, double)
Description
Create a Voronoi diagram with the given sites, in a given bounding box
| Name | FVoronoiDiagram |
| Type | function |
| Header File | /Engine/Source/Runtime/Experimental/Voronoi/Public/Voronoi/Voronoi.h |
| Include Path | #include "Voronoi/Voronoi.h" |
| Source | /Engine/Source/Runtime/Experimental/Voronoi/Private/Voronoi/Voronoi.cpp |
FVoronoiDiagram
(
const TArrayView < const FVector > & Sites,
const FBox & Bounds,
double ExtraBoundingSpace,
double SquaredDistSkipPtThreshold
)
Parameters
| Name | Remarks |
|---|---|
| Sites | Voronoi sites for the diagram |
| Bounds | Bounding box within which to compute the Voronoi diagram |
| ExtraBoundingSpace | Voronoi diagram will be computed within the input Bounds + this amount of extra space in each dimension |
| SquaredDistSkipPtThreshold | A safety threshold to avoid creating invalid cells: sites that are within this distance of an already-added site will not be added. (If you know there will be no duplicate sites, can set to zero for faster perf.) |