IMathGetPerpendicularPoint Method

Returns the perpendicular point of p on the straight line

Definition

Namespace: PCBI.MathUtils
Assembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
C#
public static PointD GetPerpendicularPoint(
	PointD p,
	PointD lineStart,
	PointD endStart
)

Parameters

p  PointD
Point outside line
lineStart  PointD
Start point of line.
endStart  PointD
End point of line.

Return Value

PointD
Perpendicular point on the line.

See Also