Search
Polygon.IntersectLine Method (Line)
See Also
 






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

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

 Syntax

C#  Copy Code

public PointList IntersectLine (
    Line line
)

Visual Basic  Copy Code

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

 Parameters

line
The Line object 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