Author Topic: How to find if a line is behind a polyline segement  (Read 3361 times)

0 Members and 1 Guest are viewing this topic.

Lee Mac

  • Seagull
  • Posts: 12926
  • London, England
Re: How to find if a line is behind a polyline segement
« Reply #15 on: October 26, 2015, 05:41:34 PM »
No, the functions which test the straight-line distance between a given line endpoint and the two polyline segment endpoints will also perform correctly with 3D points (providing all three points are expressed relative to the same coordinate system, which they are in my example).

Yes, that is true.  My thought was more of , if in a plan view, were the line were directly under the segment, but not on the same z axis.  A 2D only kind of test.

-David

Oh I see - a sort of 'apparent collinearity', view-dependent.