DOTS Geometry
 
Loading...
Searching...
No Matches
MapOverlay Class Reference

Static Public Member Functions

static JobHandle ComputeOverlay (DCEL a, DCEL b, ref DCEL output, ref AttributeMap attributes, float epsilon=10e-5f, Allocator allocator=Allocator.TempJob, JobHandle dependsOn=default)
 Calculates the overlay between two doubly-connected edge lists.
 
static JobHandle ComputeOverlay (NativePolygon2D polygonA, NativePolygon2D polygonB, int faceA, int faceB, ref DCEL output, ref AttributeMap attributes, float epsilon=10e-5f, Allocator allocator=Allocator.TempJob, JobHandle dependsOn=default)
 Calculates the overlay between two polygons (internally converted to DCELs)
 

Member Function Documentation

◆ ComputeOverlay() [1/2]

static JobHandle ComputeOverlay ( DCEL a,
DCEL b,
ref DCEL output,
ref AttributeMap attributes,
float epsilon = 10e-5f,
Allocator allocator = Allocator::TempJob,
JobHandle dependsOn = default )
static

Calculates the overlay between two doubly-connected edge lists.

Parameters
a
b
dependsOn
Returns

◆ ComputeOverlay() [2/2]

static JobHandle ComputeOverlay ( NativePolygon2D polygonA,
NativePolygon2D polygonB,
int faceA,
int faceB,
ref DCEL output,
ref AttributeMap attributes,
float epsilon = 10e-5f,
Allocator allocator = Allocator::TempJob,
JobHandle dependsOn = default )
static

Calculates the overlay between two polygons (internally converted to DCELs)

Parameters
polygonA
polygonB
faceA
faceB
output
attributes
allocator
dependsOn
Returns