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
otherGeoTriangle3
Returns
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
otherGeoTriangle3toleranceTolerance
Returns
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
lineGeoLine3
Returns
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
Returns
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
rayGeoRay3
Returns
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
Returns
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
solidGeoSolid3
Returns
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
Returns
Remarks
The segment leaves this triangle and lands on the solid, so its length is the clearance between them and nought where they touch.