Jump to content

Line/Segment intersection query


photo

Recommended Posts

Hi there,

I am looking for a method which would return the first intersection point on a given node along a line or segment expressed using two points (or a point + vector)
This exists in OSG and many IG engine. Could be used for ground clamping but also LoS, building an altitude map from code, etc.

Could not find anything (except world::intersection() which is not what I ma looking for - too complex)

Thanks.

Link to comment
×
×
  • Create New...