You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dale Fugier edited this page Dec 1, 2018
·
1 revision
Determines whether a closed polyline winds clockwise or counterclockwise. Note that the test does not determine whether the polyline is self-intersecting.
Syntax
(dos_plinewinding entity)
Parameters
entity
The entity name of a closed polyline.
Returns
>0 If the polyline winds to the left.
<0 If the polyline winds to the right.
0 If unable to determine the winding.
nil on error.
Example
Command: (dos_plinewinding (car (entsel "\nSelect a closed polyline:")))
-1