Search
Utilities.DistanceToSegmentSquared Method
See Also
 






Returns the squared distance from a point to a line segment.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public static double DistanceToSegmentSquared (
    Point p,
    Point a,
    Point b
)

Visual Basic  Copy Code

Public Shared Function DistanceToSegmentSquared( _
    p As Point, _
    a As Point, _
    b As Point _
) As Double

 Parameters

p

a

b

 Return Value

 See Also