Method IsParallelTo
- Namespace
- GeometryHelper.Geometry
- Assembly
- GeometryHelper.dll
IsParallelTo(GeoLine2)
Checks whether this ray is parallel to a line segment using the default tolerance.
public bool IsParallelTo(GeoLine2 line)
Parameters
lineGeoLine2
Returns
IsParallelTo(GeoLine2, Tolerance)
Checks whether this ray 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 ray from the origin along X is parallel to the segment from (0, 10) to (-100, 10).