Search
InternalUtils.DistToPolyline Method (PointF, IList, Int32, Int32@)
See Also
 





Calculates the shortest distance from the specified point to the specified polyline, also returning the index of the segment the point is closest to.

Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

public static float DistToPolyline (
    PointF pt,
    IList line_pts,
    int nPoints,
    ref int segmNum
)

Visual Basic  Copy Code

Public Shared Function DistToPolyline( _
    pt As PointF, _
    line_pts As IList, _
    nPoints As Integer, _
    ByRef segmNum As Integer _
) As Single

 Parameters

pt

line_pts

nPoints

segmNum

 Return Value

 See Also