Table of Contents

Method GetShortestLineTo

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

GetShortestLineTo(GeoTriangle3)

Gets the shortest segment joining this triangle to another, using the default tolerance.

public GeoLine3 GetShortestLineTo(GeoTriangle3 other)

Parameters

other GeoTriangle3

Returns

GeoLine3

Remarks

The segment leaves this triangle and lands on the other triangle, so its length is the clearance between them and nought where they touch.

GetShortestLineTo(GeoTriangle3, Tolerance)

Gets the shortest segment joining this triangle to another, within a tolerance.

public GeoLine3 GetShortestLineTo(GeoTriangle3 other, Tolerance tolerance)

Parameters

other GeoTriangle3
tolerance Tolerance

Returns

GeoLine3

Remarks

The segment leaves this triangle and lands on the other triangle, so its length is the clearance between them and nought where they touch.

GetShortestLineTo(GeoLine3)

Gets the shortest segment joining this triangle to a segment, using the default tolerance.

public GeoLine3 GetShortestLineTo(GeoLine3 line)

Parameters

line GeoLine3

Returns

GeoLine3

Remarks

The segment leaves this triangle and lands on the segment, so its length is the clearance between them and nought where they touch.

GetShortestLineTo(GeoLine3, Tolerance)

Gets the shortest segment joining this triangle to a segment, within a tolerance.

public GeoLine3 GetShortestLineTo(GeoLine3 line, Tolerance tolerance)

Parameters

line GeoLine3
tolerance Tolerance

Returns

GeoLine3

Remarks

The segment leaves this triangle and lands on the segment, so its length is the clearance between them and nought where they touch.

GetShortestLineTo(GeoRay3)

Gets the shortest segment joining this triangle to a ray, using the default tolerance.

public GeoLine3 GetShortestLineTo(GeoRay3 ray)

Parameters

ray GeoRay3

Returns

GeoLine3

Remarks

The segment leaves this triangle and lands on the ray, so its length is the clearance between them and nought where they touch.

GetShortestLineTo(GeoRay3, Tolerance)

Gets the shortest segment joining this triangle to a ray, within a tolerance.

public GeoLine3 GetShortestLineTo(GeoRay3 ray, Tolerance tolerance)

Parameters

ray GeoRay3
tolerance Tolerance

Returns

GeoLine3

Remarks

The segment leaves this triangle and lands on the ray, so its length is the clearance between them and nought where they touch.

GetShortestLineTo(GeoSolid3)

Gets the shortest segment joining this triangle to a solid, using the default tolerance.

public GeoLine3 GetShortestLineTo(GeoSolid3 solid)

Parameters

solid GeoSolid3

Returns

GeoLine3

Remarks

The segment leaves this triangle and lands on the solid, so its length is the clearance between them and nought where they touch.

GetShortestLineTo(GeoSolid3, Tolerance)

Gets the shortest segment joining this triangle to a solid, within a tolerance.

public GeoLine3 GetShortestLineTo(GeoSolid3 solid, Tolerance tolerance)

Parameters

solid GeoSolid3
tolerance Tolerance

Returns

GeoLine3

Remarks

The segment leaves this triangle and lands on the solid, so its length is the clearance between them and nought where they touch.