Triangulator class

Constructors

Triangulator()

Properties

convexPolygons → List<Float32List>
final
convexPolygonsIndices → List<Int16List>
final
indicesArray → List<int>
final
isConcaveArray → List<bool>
final
polygonIndicesPool Pool<List<int>>
final
polygonPool Pool<List<double>>
final
triangles → List<int>
final
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

decompose(Float32List verticesArray, Int16List triangles) → List<Float32List>
triangulate(Float32List verticesArray) → Int16List
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited

Static Methods

positiveArea(double p1x, double p1y, double p2x, double p2y, double p3x, double p3y) → bool
winding(double p1x, double p1y, double p2x, double p2y, double p3x, double p3y) → int