UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
Voronoi.h File Reference
#include "Containers/Array.h"
#include "Containers/ArrayView.h"
#include "Containers/Map.h"
#include "CoreMinimal.h"
#include "Math/Box.h"
#include "Math/NumericLimits.h"
#include "Math/UnrealMathSSE.h"
#include "Math/Vector.h"
#include "Misc/AssertionMacros.h"
#include "Templates/PimplPtr.h"
#include "Templates/Tuple.h"
#include "Templates/UnrealTemplate.h"

Go to the source code of this file.

Classes

struct  FVoronoiCellInfo
 
class  FVoronoiComputeHelper
 
class  FVoronoiDiagram
 
class  FVoronoiDiagramField
 

Namespaces

namespace  voro
 

Functions

bool VORONOI_API VoronoiNeighbors (const TArrayView< const FVector > &Sites, TArray< TArray< int > > &Neighbors, bool bExcludeBounds=true, double SquaredDistSkipPtThreshold=UE_KINDA_SMALL_NUMBER)
 
bool VORONOI_API GetVoronoiEdges (const TArrayView< const FVector > &Sites, const FBox &Bounds, TArray< TTuple< FVector, FVector > > &Edges, TArray< int32 > &CellMember, double SquaredDistSkipPtThreshold=UE_KINDA_SMALL_NUMBER)
 

Function Documentation

◆ GetVoronoiEdges()

bool VORONOI_API GetVoronoiEdges ( const TArrayView< const FVector > &  Sites,
const FBox Bounds,
TArray< TTuple< FVector, FVector > > &  Edges,
TArray< int32 > &  CellMember,
double  SquaredDistSkipPtThreshold = UE_KINDA_SMALL_NUMBER 
)

◆ VoronoiNeighbors()

bool VORONOI_API VoronoiNeighbors ( const TArrayView< const FVector > &  Sites,
TArray< TArray< int > > &  Neighbors,
bool  bExcludeBounds = true,
double  SquaredDistSkipPtThreshold = UE_KINDA_SMALL_NUMBER 
)