1

I'm Trying to calculate the angle between two intersected lines at geometric network (simple edge)in order to check if the lines are close to be perpendicular. I already have an Array of the intersection vertices and a function that calculate the angle using Pythagorean theorem. How I can get the next vertices at the intersect line, in order to calculate the angle between this vertices and the intersect point using the function ?

3
  • 2
    Can you perhaps include a diagram of what you are after? This seems like the third similar question that you have asked without giving much context to what you are trying to do.
    – PolyGeo
    Commented Aug 4, 2013 at 11:43
  • I'm developing QA tools for geometric network for water utilities - to check the quality of the digitizer who collect the data. At my previous questions i developed a tool to check angle between vertices- steel pipes can have only a specific angles. Now I'm after the angles between lines. Commented Aug 4, 2013 at 12:15
  • 2
    See these for ideas: 1 2
    – Mike T
    Commented Aug 5, 2013 at 3:10

1 Answer 1

2

You tag this question as a python question so assuming you are using 10.1 then looking at the page on Polyline geometry in the Help file it shows that Polyline has a method called getPart which returns a list of points. If you know which end your intersection point is then its just a matter of stepping through the list.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.