IMathLinesAreParallel(PointD, PointD, PointD, PointD, Double) Method
Check the lines (Line1 and Line2) are parallel?
Namespace: PCBI.MathUtilsAssembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
public static bool LinesAreParallel(
PointD StartLine1,
PointD EndLine1,
PointD StartLine2,
PointD EndLine2,
double errLevel
)
Public Shared Function LinesAreParallel (
StartLine1 As PointD,
EndLine1 As PointD,
StartLine2 As PointD,
EndLine2 As PointD,
errLevel As Double
) As Boolean
public:
static bool LinesAreParallel(
PointD StartLine1,
PointD EndLine1,
PointD StartLine2,
PointD EndLine2,
double errLevel
)
static member LinesAreParallel :
StartLine1 : PointD *
EndLine1 : PointD *
StartLine2 : PointD *
EndLine2 : PointD *
errLevel : float -> bool
- 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.
Booleantrue if the two lines are parallel.