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
planeGeoPlane3
Returns
IsParallelTo(GeoPlane3, Tolerance)
Checks whether this line runs parallel to a plane within a tolerance.
public bool IsParallelTo(GeoPlane3 plane, Tolerance tolerance)
Parameters
Returns
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
lineGeoLine3
Returns
IsParallelTo(GeoLine3, Tolerance)
Checks whether this line is parallel to a line segment within a tolerance.
public bool IsParallelTo(GeoLine3 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, 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
otherGeoXLine3
Returns
IsParallelTo(GeoXLine3, Tolerance)
Checks whether this line is parallel to another within a tolerance.
public bool IsParallelTo(GeoXLine3 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.