IMathIsPointOnLine(PointD, PointD, PointD, Boolean) Method

Checks is the point P on the line?

Definition

Namespace: PCBI.MathUtils
Assembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
C#
public static bool IsPointOnLine(
	PointD Begin,
	PointD End,
	PointD P,
	bool AllowTolerance
)

Parameters

Begin  PointD
Startpoint of the line.
End  PointD
Endpoint of the line.
P  PointD
The point on the line?
AllowTolerance  Boolean
Check is with small tolerance (0.0005)

Return Value

Boolean
True if P is on the line.

See Also