Triangulator class

Constructors

Triangulator()

Properties

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

Methods

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

Operators

operator ==(Object 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