Click or drag to resize

ClipperPerpendicDistFromLineSqrd(Point64, Point64, Point64) Method

Returns the squared perpendicular distance from an integer point to a line.

Namespace: Clipper2Lib
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public static double PerpendicDistFromLineSqrd(
	Point64 pt,
	Point64 line1,
	Point64 line2
)

Parameters

pt  Point64
The point to test.
line1  Point64
The first point on the line.
line2  Point64
The second point on the line.

Return Value

Double
The squared perpendicular distance from the point to the line.
See Also