Search
Polygon.IntersectSegment Method (Line)
See Also
 






Calculates all intersection points of this polygon and the specified line segment. The result is a list containing all points of intersection.

Namespace: MindFusion.Geometry.Geometry2D
Assembly: MindFusion.Common

 Syntax

C#  Copy Code

public PointList IntersectSegment (
    Line line
)

Visual Basic  Copy Code

Public Function IntersectSegment ( _
    line As Line _
) As PointList

 Parameters

line

The Line object defining the segment to intersect with.

 Return Value

An instance of the PointList class containing all intersection points. If the line does not intersect the polygon, the returned list is empty.

 See Also