Navigation
Unreal Engine C++ API Reference > Runtime > Voronoi > Voronoi
References
Module | Voronoi |
Header | /Engine/Source/Runtime/Experimental/Voronoi/Public/Voronoi/Voronoi.h |
Include | #include "Voronoi/Voronoi.h" |
Syntax
class FVoronoiDiagram
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
Make an empty diagram, to be filled in with a subsequent call to "Initialize()" | ||
![]() |
FVoronoiDiagram
(
const FVoronoiDiagram& Other |
||
![]() |
FVoronoiDiagram
(
FVoronoiDiagram&& Other |
||
![]() |
FVoronoiDiagram
(
const TArrayView< const FVector >& Sites, |
Create a Voronoi diagram with the given sites, in a box bounding containing those sites | |
![]() |
FVoronoiDiagram
(
int32 ExpectedNumSites, |
Make a container for a Voronoi diagram without any points. | |
![]() |
FVoronoiDiagram
(
const TArrayView< const FVector >& Sites, |
Create a Voronoi diagram with the given sites, in a given bounding box |
Destructors
Type | Name | Description | |
---|---|---|---|
![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | AddSites
(
const TArrayView< const FVector >& Sites, |
|
![]() |
int32 | ApproxSitesPerThreadWithDefault
(
int32 ApproxSitesPerThreadIn |
|
![]() |
void | ComputeAllCells
(
TArray< FVoronoiCellInfo >& AllCells, |
|
![]() |
void | ComputeAllCellsSerial
(
TArray< FVoronoiCellInfo >& AllCells |
|
![]() |
void | ComputeAllNeighbors
(
TArray< TArray< int32 >>& AllNeighbors, |
|
![]() |
void | ComputeCellEdges
(
TArray< TTuple< FVector, FVector >>& Edges, |
|
![]() |
void | ComputeCellEdgesSerial
(
TArray< TTuple< FVector, FVector >>& Edges, |
|
![]() ![]() |
int32 | FindCell
(
const FVector& Pos, |
Find the closest Voronoi cell to a given position |
![]() ![]() |
int32 | FindCell
(
const FVector& Pos, |
|
![]() ![]() |
FBox | GetBounds
(
const TArrayView< const FVector >& Sites, |
|
![]() ![]() |
FVoronoiComputeHelper | ||
![]() |
void | Initialize
(
const TArrayView< const FVector >& Sites, |
Create a Voronoi diagram with the given sites, in a given bounding box. |
![]() ![]() |
int32 | Num () |
Operators
Type | Name | Description | |
---|---|---|---|
![]() |
FVoronoiDiagram & | operator=
(
const FVoronoiDiagram& Other |
|
![]() |
FVoronoiDiagram & | operator=
(
FVoronoiDiagram&& Other |
Constants
Name | Description |
---|---|
MinDefaultSitesPerThread |