Charting for WinForms Programmer's Guide
Polygon.IntersectSegment Method (PointF, PointF)
See Also
 






Calculates the intersections between the polygon and the line segment defined by the particular points. The result is a list containing all points of intersection.

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

 Syntax

C#  Copy Code

public PointList IntersectSegment (
    PointF a,
    PointF b
)

Visual Basic  Copy Code

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

 Parameters

a
The first point defining the segment to intersect with.
b
The second point 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

IntersectSegment Method Overload List
Polygon Members
Polygon Class
MindFusion.Geometry.Geometry2D Namespace