Method GetShortestLineTo
- Namespace
- GeometryHelper.Geometry
- Assembly
- GeometryHelper.dll
GetShortestLineTo(GeoLine3)
Gets the shortest segment joining this ray to a segment, using the default tolerance.
public GeoLine3 GetShortestLineTo(GeoLine3 line)
Parameters
lineGeoLine3
Returns
Remarks
The segment leaves this ray 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 ray to a segment, within a tolerance.
public GeoLine3 GetShortestLineTo(GeoLine3 line, Tolerance tolerance)
Parameters
Returns
Remarks
The segment leaves this ray and lands on the segment, so its length is the clearance between them and nought where they touch.
GetShortestLineTo(GeoTriangle3)
Gets the shortest segment joining this ray to a triangle, using the default tolerance.
public GeoLine3 GetShortestLineTo(GeoTriangle3 triangle)
Parameters
triangleGeoTriangle3
Returns
Remarks
The segment leaves this ray and lands on the triangle, so its length is the clearance between them and nought where they touch.
GetShortestLineTo(GeoTriangle3, Tolerance)
Gets the shortest segment joining this ray to a triangle, within a tolerance.
public GeoLine3 GetShortestLineTo(GeoTriangle3 triangle, Tolerance tolerance)
Parameters
triangleGeoTriangle3toleranceTolerance
Returns
Remarks
The segment leaves this ray and lands on the triangle, so its length is the clearance between them and nought where they touch.
GetShortestLineTo(GeoSolid3)
Gets the shortest segment joining this ray to a solid, using the default tolerance.
public GeoLine3 GetShortestLineTo(GeoSolid3 solid)
Parameters
solidGeoSolid3
Returns
Remarks
The segment leaves this ray 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 ray to a solid, within a tolerance.
public GeoLine3 GetShortestLineTo(GeoSolid3 solid, Tolerance tolerance)
Parameters
Returns
Remarks
The segment leaves this ray and lands on the solid, so its length is the clearance between them and nought where they touch.