Skip to main content
Solved

How do I find the direction of a line at a certain point?

  • May 4, 2018
  • 6 replies
  • 50 views

In every red point I'm trying to create a line, parallel to the blue line.

So far I used a linebuilder to create a profile line.

 

Then I created a point at the intersection of the blue line and profile line.

 

Next I would like to know the direction of the blue line at the intersection point.

Anyone tips?

Best answer by nathanatsafe

Hi @tessa,

 

You might find the PolylineAnalyzer helpful as well. It can return angles of line segments.

 

Hope this helps!

 

Nathan
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

jdh
Contributor
Forum|alt.badge.img+40
  • Contributor
  • May 4, 2018

nathanatsafe
Safer
Forum|alt.badge.img+9
  • Safer
  • Best Answer
  • May 4, 2018

Hi @tessa,

 

You might find the PolylineAnalyzer helpful as well. It can return angles of line segments.

 

Hope this helps!

 

Nathan

takashi
Celebrity
  • May 4, 2018

Do you need to create lines each of which starts from the red points, is parallel to the blue line and also has the same direction as the blue line?


  • Author
  • May 8, 2018

Do you need to create lines each of which starts from the red points, is parallel to the blue line and also has the same direction as the blue line?

Hi Takashi, The lines need to be 30meter in length with the red point as midpoint.

 

 

I found a way to get my lines. I used the labeller to find the direction of the line. However, the PolylineAnalyzer seems to work as well :)

 


  • Author
  • May 8, 2018

Hi @tessa,

 

You might find the PolylineAnalyzer helpful as well. It can return angles of line segments.

 

Hope this helps!

 

Nathan
Thanks Nathan! I found that one before, but did not understand how to use it.

 

 

Now it works :)

 

 


  • Author
  • May 8, 2018
Thanks! This one helped me understand the PolylineAnalyzer :)