Navigation
API > API/Runtime > API/Runtime/Voronoi
| Name | FVoronoiDiagram |
| Type | class |
| Header File | /Engine/Source/Runtime/Experimental/Voronoi/Public/Voronoi/Voronoi.h |
| Include Path | #include "Voronoi/Voronoi.h" |
Syntax
class FVoronoiDiagram
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FVoronoiDiagram
(
const FVoronoiDiagram& Other |
Voronoi/Voronoi.h | ||
| Make an empty diagram, to be filled in with a subsequent call to "Initialize()" | 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
(
const TArrayView< const FVector >& Sites, |
Create a Voronoi diagram with the given sites, in a given bounding box | Voronoi/Voronoi.h | |
FVoronoiDiagram
(
FVoronoiDiagram&& Other |
Voronoi/Voronoi.h | ||
FVoronoiDiagram
(
int32 ExpectedNumSites, |
Make a container for a Voronoi diagram without any points. | Voronoi/Voronoi.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FVoronoiDiagram() |
Voronoi/Voronoi.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| MinDefaultSitesPerThread | const int | Voronoi/Voronoi.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Bounds | FBox | Voronoi/Voronoi.h | ||
| Container | TPimplPtr< voro::container > | Voronoi/Voronoi.h | ||
| NumSites | int32 | Voronoi/Voronoi.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddSites
(
const TArrayView< const FVector >& Sites, |
Voronoi/Voronoi.h | ||
int32 ApproxSitesPerThreadWithDefault
(
int32 ApproxSitesPerThreadIn |
Voronoi/Voronoi.h | ||
void ComputeAllCells
(
TArray< FVoronoiCellInfo >& AllCells, |
Voronoi/Voronoi.h | ||
void ComputeAllCellsSerial
(
TArray< FVoronoiCellInfo >& AllCells |
Voronoi/Voronoi.h | ||
| Voronoi/Voronoi.h | |||
| Voronoi/Voronoi.h | |||
| Voronoi/Voronoi.h | |||
int32 FindCell
(
const FVector& Pos, |
Find the closest Voronoi cell to a given position | Voronoi/Voronoi.h | |
int32 FindCell
(
const FVector& Pos, |
Voronoi/Voronoi.h | ||
FVoronoiComputeHelper GetComputeHelper() |
Voronoi/Voronoi.h | ||
void Initialize
(
const TArrayView< const FVector >& Sites, |
Create a Voronoi diagram with the given sites, in a given bounding box. | Voronoi/Voronoi.h | |
int32 Num() |
Voronoi/Voronoi.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FBox GetBounds
(
const TArrayView< const FVector >& Sites, |
Voronoi/Voronoi.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FVoronoiDiagram & operator=
(
const FVoronoiDiagram& Other |
Voronoi/Voronoi.h | ||
FVoronoiDiagram & operator=
(
FVoronoiDiagram&& Other |
Voronoi/Voronoi.h |