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 ?

PolyGeo
  • 65,136
  • 29
  • 109
  • 338
Dror Har Gil
  • 2,524
  • 1
  • 30
  • 53
  • 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 Aug 04 '13 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. – Dror Har Gil Aug 04 '13 at 12:15
  • 2
    See these for ideas: 1 2 – Mike T Aug 05 '13 at 03:10

1 Answers1

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.

Hornbydd
  • 43,380
  • 5
  • 41
  • 81