Point2D.DistanceTo (Segment2D) Method

Computes the point-line distance.
Public Function DistanceTo( _ 
ByVal seg As Segment2D
) As Double
This language is not supported or no code example is available.
public double DistanceTo( 
Segment2D seg 
)
This language is not supported or no code example is available.

Parameters

seg
Segment2D

The line

Return Value

double

The distance between this 2D point and its projection on the line.

.NET Framework

Supported in: 4.8

In this article

Definition