.NET

.NET

Reply
Distinguished Contributor
116 Posts
1 Kudo
Registered: ‎02-26-2009
Post 1 of 5
Accepted Solution

Polyline direction (clockwise or counterclockwise)

1871 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*
9,836 Posts
1,219 Kudos
Registered: ‎06-29-2007
Post 2 of 5

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
116 Posts
1 Kudo
Registered: ‎02-26-2009
Post 3 of 5

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*
2,142 Posts
255 Kudos
Registered: ‎04-29-2006
Post 4 of 5

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
116 Posts
1 Kudo
Registered: ‎02-26-2009
Post 5 of 5

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 interested in helping shape the future of the Autodesk Community? To participate in this brief usability study, please click here. Your time and input is greatly appreciated!