Returns the intersection of two line segments in the IntersectionPt parameter: v1, v2 are first line segment v3, v4 are other line segment. The function returns true if the two line segments intersect.
Namespace: RSGraphics
Delphi |
function RSIntersectLine( const V1, V2, V3, V4: TRSPoint; var IntersectionPt: TRSPoint ): Boolean; |
Parameters
V1
Type: System.Void
Start point for first line segment
V2
Type: System.Void
End point for first line segment
V3
Type: System.Void
Start point for second line segment
V4
Type: System.Void
End point for second line segment
IntersectionPt
Type: System.Void
Intersection Point for the two line segments
Type: Boolean