ClipperPerpendicDistFromLineSqrd(PointD, PointD, PointD) Method |
Returns the squared perpendicular distance from a floating-point point to a line.
Namespace: Clipper2LibAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic static double PerpendicDistFromLineSqrd(
PointD pt,
PointD line1,
PointD line2
)
Parameters
- pt PointD
- The point to test.
- line1 PointD
- The first point on the line.
- line2 PointD
- The second point on the line.
Return Value
DoubleThe squared perpendicular distance from the point to the line.
See Also