C# Class FarseerPhysics.Common.Decomposition.Triangulate

Show file Open project: prime31/Nez

Public Methods

Method Description
convexPartition ( Vertices vertices, TriangulationAlgorithm algorithm, bool discardAndFixInvalid = true, float tolerance = 0.001f ) : List

Private Methods

Method Description
validatePolygon ( Vertices polygon ) : bool

Method Details

convexPartition() public static method

public static convexPartition ( Vertices vertices, TriangulationAlgorithm algorithm, bool discardAndFixInvalid = true, float tolerance = 0.001f ) : List
vertices Vertices
algorithm TriangulationAlgorithm
discardAndFixInvalid bool
tolerance float
return List