Search
Utilities.GetNearestPt Method
See Also
 





Calculates the orthogonal projection of the specified point on the line defined be the specified point pair.

Namespace: MindFusion
Assembly: MindFusion.Diagramming.Wpf

 Syntax

C#  Copy Code

public static Point GetNearestPt (
    Point pt,
    Point segPt1,
    Point segPt2
)

Visual Basic  Copy Code

Public Shared Function GetNearestPt( _
    pt As Point, _
    segPt1 As Point, _
    segPt2 As Point _
) As Point

 Parameters

pt

segPt1

segPt2

 Return Value

 See Also