Table of Contents

Method IsParallelTo

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

IsParallelTo(GeoPlane3)

Checks whether this line runs parallel to a plane using the default tolerance.

public bool IsParallelTo(GeoPlane3 plane)

Parameters

plane GeoPlane3

Returns

bool

IsParallelTo(GeoPlane3, Tolerance)

Checks whether this line runs parallel to a plane within a tolerance.

public bool IsParallelTo(GeoPlane3 plane, Tolerance tolerance)

Parameters

plane GeoPlane3
tolerance Tolerance

Returns

bool

Remarks

Only the direction is read, so a line lying in a plane is parallel to it, and so is one a metre above it.

IsParallelTo(GeoLine3)

Checks whether this line is parallel to a line segment using the default tolerance.

public bool IsParallelTo(GeoLine3 line)

Parameters

line GeoLine3

Returns

bool

IsParallelTo(GeoLine3, Tolerance)

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

public bool IsParallelTo(GeoLine3 line, Tolerance tolerance)

Parameters

line GeoLine3
tolerance Tolerance

Returns

bool

Remarks

Only the directions are compared, either way round: the line from the origin along X is parallel to the segment from (0, 10, 0) to (-100, 10, 0).

IsParallelTo(GeoXLine3)

Checks whether this line is parallel to another using the default tolerance.

public bool IsParallelTo(GeoXLine3 other)

Parameters

other GeoXLine3

Returns

bool

IsParallelTo(GeoXLine3, Tolerance)

Checks whether this line is parallel to another within a tolerance.

public bool IsParallelTo(GeoXLine3 other, Tolerance tolerance)

Parameters

other GeoXLine3
tolerance Tolerance

Returns

bool

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.