Skip to main content
Question

orientation lines

  • May 23, 2019
  • 6 replies
  • 21 views

fer_ruiz
Contributor
Forum|alt.badge.img+2

I need to calculate the sense in which a line was created. The sense of the needles of the relay or the inverse one. The "orientation_extractor" does not give me the result that I need

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

6 replies

erik_jan
Contributor
Forum|alt.badge.img+22
  • Contributor
  • 2179 replies
  • May 23, 2019

Can you give some more details?

For example show in an image what you mean with the "sense of the needles of the relay".

Would like to help, but have not a good idea what you are looking for.


fer_ruiz
Contributor
Forum|alt.badge.img+2
  • Author
  • Contributor
  • 23 replies
  • May 23, 2019

sorry @erik_jan, relay¿?¿?

i could say: "I need to calculate the sense in which a line was created. Clockwise or reverse. The "orientation_extractor" does not give me the result I need"


erik_jan
Contributor
Forum|alt.badge.img+22
  • Contributor
  • 2179 replies
  • May 23, 2019

sorry @erik_jan, relay¿?¿?

i could say: "I need to calculate the sense in which a line was created. Clockwise or reverse. The "orientation_extractor" does not give me the result I need"

Clockwise or Counter Clockwise is used for polygons. Are these closed lines?

In that case, use an AreaBuilder to build polygons and the OrientationExtractor will get you the right values.


fer_ruiz
Contributor
Forum|alt.badge.img+2
  • Author
  • Contributor
  • 23 replies
  • May 24, 2019

Clockwise or Counter Clockwise is used for polygons. Are these closed lines?

In that case, use an AreaBuilder to build polygons and the OrientationExtractor will get you the right values.

they are not closed polylines, I already realized that if they were areas I was saying it ..... some other idea comes to mind ??? @erik_jan


ebygomm
Influencer
Forum|alt.badge.img+44
  • Influencer
  • 3427 replies
  • May 24, 2019

Normally, i'd say horizontal angle calculator, if what you are after is something like compass points, but there was an error in this the last time i used/downloaded it, although that can be corrected.

https://knowledge.safe.com/questions/91791/horizontalanglecalculator-returning-very-small-ang.html

 


david_r
Celebrity
  • 8394 replies
  • May 27, 2019

If you're still looking for a solution, a small (annotated) screenshot might be helpful to better understand what you need.