Triangulator Properties |
The Triangulator type exposes the following members.
Name | Description | |
---|---|---|
IsClockwise | Gets a boolean that specifies if the specified points are oriented in clockwise direction. This property can be used only then Triangulator is created by providing a single list of point and not multiple polygons. | |
IsClosed | Gets a boolean that specifies if the specified points define a close path. This property can be used only then Triangulator is created by providing a single list of point and not multiple polygons. | |
IsPolygonConvex | Gets a boolean that specifies if the specified points define a convex polygon. In convex polygon every internal angle is less than or equal to 180 degrees and every line segment between two vertices remains inside or on the boundary of the polygon. For example square is convex, but star is not (it is concave). This property can be used only then Triangulator is created by providing a single list of point and not multiple polygons. | |
IsPolygonPositionsOrderReversed | Gets true when the positions order was reversed because the outer polygon was not defined in clockwise order. | |
IsYAxisUp | Gets Boolean that specifies if Y axis in 2D positions is pointing up (true by default). This affects the value of IsClockwise property. The value of this property is set with constructor. | |
PolygonArea | Gets a float that specifies the area defined by the specified points. This property can be used only then Triangulator is created by providing a single list of point and not multiple polygons. |