CADability dotNET
Returns the distance of the point to the curve. In opposite to Distance(GeoPoint2D) this method will return the distance to the unextended curve

Namespace: CADability.Curve2D
Assembly: CADability (in CADability.dll) Version: 1.1.4254.24737 (1.1.*)

Syntax

C#
double MinDistance(
	GeoPoint2D p
)
Visual Basic
Function MinDistance ( _
	p As GeoPoint2D _
) As Double
Visual C++
double MinDistance(
	GeoPoint2D p
)

Parameters

p
Type: CADability..::..GeoPoint2D
Point to compute the distance to

Return Value

the distance

See Also