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.
Copyright © 2010-2024 Angus Johnson - Clipper2 1.3.0 - Help file built on 14 Jan 2024