Direction of a closed polyline

Discussion forum for contributors and developers who are using the QCAD version 3 ECMAScript development platform or the C++ plugin interface or who are otherwise looking to contribute to QCAD (translations, documentation, etc).

Moderator: andrew

Direction of a closed polyline

Postby matthiaswm » Mon May 06, 2013 2:20 pm

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
matthiaswm
Junior Member
 
Posts: 22
Joined: Mon Apr 29, 2013 4:34 pm

Re: Direction of a closed polyline

Postby matthiaswm » Wed May 08, 2013 7:17 am

Wrote it myself.
matthiaswm
Junior Member
 
Posts: 22
Joined: Mon Apr 29, 2013 4:34 pm


Return to QCAD 3 Developers and Contributors

Who is online

Users browsing this forum: No registered users and 2 guests

cron