IMathLinesAreParallel(PointD, PointD, PointD, PointD, Double) Method

Check the lines (Line1 and Line2) are parallel?

Definition

Namespace: PCBI.MathUtils
Assembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
C#
public static bool LinesAreParallel(
	PointD StartLine1,
	PointD EndLine1,
	PointD StartLine2,
	PointD EndLine2,
	double errLevel
)

Parameters

StartLine1  PointD
Start point of line one.
EndLine1  PointD
End point of line one.
StartLine2  PointD
Start point of line two.
EndLine2  PointD
End point of line two.
errLevel  Double
Error level for unprecise roundings.

Return Value

Boolean
true if the two lines are parallel.

See Also