I need to know if a close polyline is oriented clockwise or counterclockwise. Is there a function in RPolyLineEntity (dirction1() and direction2()?), or do I need to write my own?
Thanks,
Matthias
Direction of a closed polyline
Moderator: andrew
Forum rules
Always indicate your operating system and QCAD version.
Attach drawing files, scripts and screenshots.
Post one question per topic.
Always indicate your operating system and QCAD version.
Attach drawing files, scripts and screenshots.
Post one question per topic.
-
- Junior Member
- Posts: 24
- Joined: Mon Apr 29, 2013 4:34 pm
-
- Junior Member
- Posts: 24
- Joined: Mon Apr 29, 2013 4:34 pm
Re: Direction of a closed polyline
Wrote it myself.