WebPlanner Programmer's Guide

Utilities.DistToPolyline Method (PointF, IList, Int32)

See Also
 


Calculates the shortest distance from the specified point to the specified polyline.

Namespace: MindFusion
Assembly: MindFusion.Common

 Syntax

C#  Copy Code

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

Visual Basic  Copy Code

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

 Parameters

pt
line_pts
nPoints

 Return Value

 See Also