Search
Polygon.IntersectLine Method (PointF, PointF)
See Also
 






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

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

 Syntax

C#  Copy Code

public PointList IntersectLine (
    PointF a,
    PointF b
)

Visual Basic  Copy Code

Public Function IntersectLine ( _
    a As PointF, _
    b As PointF _
) As PointList

 Parameters

a
The first point defining the line to intersect with.
b

The second point defining the line 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