.NET

Reply
Distinguished Contributor
junoj
Posts: 116
Registered: ‎02-26-2009
Message 1 of 5 (1,081 Views)
Accepted Solution

Polyline direction (clockwise or counterclockwise)

1081 Views, 4 Replies
09-07-2013 11:52 PM

I am trying to set up the bulge for  a polyline, in order to set up the bulge currecty I need to know if the polyline was created clockwise or counterclockwise.

 

Any advice would be appreciated.

 

-J

Hi,

 

I just did a search for "clockwise" in this forum here ... and the second item (in the current search result) answers your question (>>>click<<<).


- alfred -

*Expert Elite*
Alfred.NESWADBA
Posts: 9,083
Registered: ‎06-29-2007
Message 2 of 5 (1,077 Views)

Re: Polyline direction (clockwise or counterclockwise)

09-08-2013 12:03 AM in reply to: junoj

Hi,

 

I just did a search for "clockwise" in this forum here ... and the second item (in the current search result) answers your question (>>>click<<<).


- alfred -

-------------------------------------------------------------------------
Alfred NESWADBA
Ingenieur Studio HOLLAUS ... www.hollaus.at
-------------------------------------------------------------------------
Distinguished Contributor
junoj
Posts: 116
Registered: ‎02-26-2009
Message 3 of 5 (1,010 Views)

Re: Polyline direction (clockwise or counterclockwise)

09-10-2013 10:09 PM in reply to: Alfred.NESWADBA

Alfred, thank you for the link.

 

I don’t think they ever solved the problem in the link, but it have a good idea. I end up using my own algorithm at the end of the day

*Expert Elite*
_gile
Posts: 2,086
Registered: ‎04-29-2006
Message 4 of 5 (998 Views)

Re: Polyline direction (clockwise or counterclockwise)

09-10-2013 11:25 PM in reply to: junoj

By my side, I think the algebraic area (signed area) DOES solve the problem.

Did you try the code I posted in the last repy of this thread?

http://forums.autodesk.com/t5/NET/How-to-know-the-orientation-of-a-polyline/m-p/3784606/highlight/tr...

Gilles Chanteau
Distinguished Contributor
junoj
Posts: 116
Registered: ‎02-26-2009
Message 5 of 5 (978 Views)

Re: Polyline direction (clockwise or counterclockwise)

09-11-2013 07:55 AM in reply to: _gile

Thank you Gilles.

 

Yes, that is the code i used. :smileyhappy:

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.