UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UE::CADKernel::FBowyerWatsonTriangulator Class Reference

#include <BowyerWatsonTriangulator.h>

Classes

struct  FTriangle
 

Public Member Functions

 FBowyerWatsonTriangulator (TArray< TPair< int32, FVector2d > > &InVertices, TArray< int32 > &OutEdgeVertices)
 
void Triangulate ()
 
int32 OuterEdgeCount () const
 
void GetOuterEdges (TArray< int32 > &OuterEdgeIndices) const
 
void GetOuterVertices (TSet< int32 > &OuterVertexIndices) const
 
TArray< int32GetOuterVertices () const
 
void GetMesh (TArray< int32 > &Triangles)
 

Constructor & Destructor Documentation

◆ FBowyerWatsonTriangulator()

UE::CADKernel::FBowyerWatsonTriangulator::FBowyerWatsonTriangulator ( TArray< TPair< int32, FVector2d > > &  InVertices,
TArray< int32 > &  OutEdgeVertices 
)
inline
Parameters
Verticesthe 2d point cloud to mesh
OutEdgeVertices,theedges of the mesh. An edge is defined by the indices of its vertices So the ith edge is defined by the vertices EdgeVertexIndices[2 * ith] and EdgeVertexIndices[2 * ith + 1]

Member Function Documentation

◆ GetMesh()

void UE::CADKernel::FBowyerWatsonTriangulator::GetMesh ( TArray< int32 > &  Triangles)
inline

◆ GetOuterEdges()

void UE::CADKernel::FBowyerWatsonTriangulator::GetOuterEdges ( TArray< int32 > &  OuterEdgeIndices) const
inline

Return the edge connected to 0 or 1 triangle

◆ GetOuterVertices() [1/2]

TArray< int32 > UE::CADKernel::FBowyerWatsonTriangulator::GetOuterVertices ( ) const
inline

◆ GetOuterVertices() [2/2]

void UE::CADKernel::FBowyerWatsonTriangulator::GetOuterVertices ( TSet< int32 > &  OuterVertexIndices) const
inline

◆ OuterEdgeCount()

int32 UE::CADKernel::FBowyerWatsonTriangulator::OuterEdgeCount ( ) const
inline

◆ Triangulate()

void UE::CADKernel::FBowyerWatsonTriangulator::Triangulate ( )
inline

The documentation for this class was generated from the following file: