IsPositive

Delphifunction IsPositive(const pts: TPath64): Boolean;

C++bool IsPositive(const Path64 &poly);

C# public static bool IsPositive(Path64 poly);

This function assesses the winding orientation of closed paths.

Positive winding paths will be oriented in an anti-clockwise direction in Cartesian coordinates (where x coordinate values increase toward the right and y coordinate values increase upward). However, in graphics display libraries that use an inverted Y-axis, Positive winding paths will be oriented clockwise.

Note: Self-intersecting polygons have indeterminate orientation since some path segments will wind in opposite directions to other segments.


See Also

Path64