Method IsParallelTo
- Namespace
- GeometryHelper.Geometry
- Assembly
- GeometryHelper.dll
IsParallelTo(GeoXLine2)
Checks whether this line is parallel to another using the default tolerance.
public bool IsParallelTo(GeoXLine2 other)
Parameters
otherGeoXLine2
Returns
IsParallelTo(GeoXLine2, Tolerance)
Checks whether this line is parallel to another within a tolerance.
public bool IsParallelTo(GeoXLine2 other, Tolerance tolerance)
Parameters
Returns
Remarks
Only the directions are compared, either way round, so a line is parallel to itself reversed and to any line it is the same line as.
IsParallelTo(GeoLine2)
Checks whether this line is parallel to a line segment using the default tolerance.
public bool IsParallelTo(GeoLine2 line)
Parameters
lineGeoLine2
Returns
IsParallelTo(GeoLine2, Tolerance)
Checks whether this line is parallel to a line segment within a tolerance.
public bool IsParallelTo(GeoLine2 line, Tolerance tolerance)
Parameters
Returns
Remarks
Only the directions are compared, either way round: the line from the origin along X is parallel to the segment from (0, 10) to (-100, 10).