GdiExtensionMethodsSquareDistanceLineToPoint Method |
Calculates the squared distance between a finite line and a point.
Namespace: Altaxo.Graph.GdiAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public static double SquareDistanceLineToPoint(
PointF point,
PointF lineOrg,
PointF lineEnd
)
Parameters
- point PointF
- The location of the point.
- lineOrg PointF
- The location of the line origin.
- lineEnd PointF
- The location of the line end.
Return Value
DoubleThe squared distance between the line (threated as having a finite length) and the point.
See Also