Table of Contents

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

line GeoLine2

Returns

bool

IsParallelTo(GeoLine2, Tolerance)

Checks whether this ray is parallel to a line segment within a tolerance.

public bool IsParallelTo(GeoLine2 line, Tolerance tolerance)

Parameters

line GeoLine2
tolerance Tolerance

Returns

bool

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).