IMathLinesAreParallel(PointF, PointF, PointF, PointF, 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(
PointF StartLine1,
PointF EndLine1,
PointF StartLine2,
PointF EndLine2,
double errLevel
)
Public Shared Function LinesAreParallel (
StartLine1 As PointF,
EndLine1 As PointF,
StartLine2 As PointF,
EndLine2 As PointF,
errLevel As Double
) As Boolean
public:
static bool LinesAreParallel(
PointF StartLine1,
PointF EndLine1,
PointF StartLine2,
PointF EndLine2,
double errLevel
)
static member LinesAreParallel :
StartLine1 : PointF *
EndLine1 : PointF *
StartLine2 : PointF *
EndLine2 : PointF *
errLevel : float -> bool
- 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.
Booleantrue if the two lines are parallel.