TConstrainedDelaunay2

Choose your operating system:

Windows

macOS

Linux

References

Module

GeometryAlgorithms

Header

/Engine/Plugins/Runtime/GeometryProcessing/Source/GeometryAlgorithms/Public/ConstrainedDelaunay2.h

Include

#include "ConstrainedDelaunay2.h"

Syntax

template<typename RealType>
struct TConstrainedDelaunay2

Variables

Name Description

Public variable

int

 

AddedVerticesStartIndex

If vertices were added to output (e.g. to split bowties), this is set to the index of the first added vertex

Public variable

bool

 

bOrientedEdges

TODO: also support FeatureEdges? TArray FeatureEdges; // Edges that should be preserved in mesh but do not correspond to a boundary and should not affect inside/outside classification at all

Public variable

bool

 

bOutputCCW

Public variable

bool

 

bSplitBowties

Public variable

TArray< FIndex2...

 

Edges

Edges and HoleEdges must not be intersecting; use Arrangment2D to pre-process any input w/ intersecting edges.

Public variable

EFillRule

 

FillRule

Public variable

TArray< FIndex2...

 

HoleEdges

Public variable

TArray< FIndex3...

 

Triangles

Outputs

Public variable

TArray< TVector...

 

Vertices

Inputs

Functions

Name Description

Public function

void

 

Add

(
    const FDynamicGraph2< InputRealType...
)

Public function

void

 

Add

(
    const TGeneralPolygon2< InputRealTy...
)

Public function

void

 

Add

(
    const TPolygon2< InputRealType >& ...,
    bool bIsHole
)

Public function

bool

 

ClassifyFromRule

(
    int Winding
)

Public function

bool

 

Triangulate()

Populate Triangles

Public function

bool

 

Triangulate()

Populate Triangles with override function to determine which triangles are in or out.

Enums

Name

Description

Public enum

EFillRule