Click or drag to resize

ClipperPerpendicDistFromLineSqrd(PointD, PointD, PointD) Method

Returns the squared perpendicular distance from a floating-point 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(
	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

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