Click or drag to resize

TriangulateConvexPartition Method


Namespace: Internal.Physics2D.Common.Decomposition
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.2.1.0 (2026.2.1.0)
Syntax
C#
public static List<Vertices> ConvexPartition(
	Vertices vertices,
	TriangulationAlgorithm algorithm,
	bool discardAndFixInvalid = true,
	float tolerance = 0.001f,
	bool skipSanityChecks = false
)

Parameters

vertices  Vertices
 
algorithm  TriangulationAlgorithm
 
discardAndFixInvalid  Boolean  (Optional)
 
tolerance  Single  (Optional)
 
skipSanityChecks  Boolean  (Optional)
Set this to true to skip sanity checks in the engine. This will speed up the tools by removing the overhead of the checks, but you will need to handle checks yourself where it is needed.

Return Value

ListVertices
See Also