.NET

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

Polyline direction (clockwise or counterclockwise)

1666 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,400
Registered: ‎06-29-2007
Message 2 of 5 (1,662 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,595 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,114
Registered: ‎04-29-2006
Message 4 of 5 (1,583 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 (1,563 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:

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Are You Going To Be @ AU 2014? Feel free to drop by our AU topic post and share your plans, plug a class that you're teaching, or simply check out who else from the community might be in attendance. Ohh and don't forgot to stop by the Autodesk Help | Learn | Collaborate booths in the Exhibit Hall and meet our community team if you get a chance!