IMathLinesAreParallel(PointF, PointF, PointF, PointF, 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(
	PointF StartLine1,
	PointF EndLine1,
	PointF StartLine2,
	PointF EndLine2,
	double errLevel
)

Parameters

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

Return Value

Boolean
true if the two lines are parallel.

See Also