GdiExtensionMethodsDistanceSquaredTo Method |
Gets the squared distance to another point.
Namespace: Altaxo.Graph.GdiAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic static float DistanceSquaredTo(
this PointF p,
PointF q
)
Parameters
- p PointF
- The first point.
- q PointF
- The second point.
Return Value
SingleThe squared distance between the two points.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
PointF. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also