GetIntersectionPoint The intersection point may not fall inside the line segments. Use the Collides-function to test if the line segments collide. Examples Line myLine( ... );
Line otherLine( ... ); // Get the intersection point of the two lines // Vec2D point = myLine.GetIntersectionPoint( otherLine ); |