Method GetShortestLineTo
- Namespace
- GeometryHelper.Geometry
- Assembly
- GeometryHelper.dll
GetShortestLineTo(GeoPoint3)
Gets the shortest segment joining this solid to a point.
public GeoLine3 GetShortestLineTo(GeoPoint3 point)
Parameters
pointGeoPoint3
Returns
Remarks
The segment leaves the surface, so it has a length even for a point inside the body, where DistanceTo(GeoPoint3) reports nothing at all.
GetShortestLineTo(GeoPoint3, Tolerance)
Gets the shortest segment joining this solid to a point, within a tolerance.
public GeoLine3 GetShortestLineTo(GeoPoint3 point, Tolerance tolerance)
Parameters
Returns
GetShortestLineTo(GeoLine3)
Gets the shortest segment joining this solid to a line segment.
public GeoLine3 GetShortestLineTo(GeoLine3 line)
Parameters
lineGeoLine3
Returns
GetShortestLineTo(GeoLine3, Tolerance)
Gets the shortest segment joining this solid to a line segment, within a tolerance.
public GeoLine3 GetShortestLineTo(GeoLine3 line, Tolerance tolerance)
Parameters
Returns
GetShortestLineTo(GeoTriangle3)
Gets the shortest segment joining this solid to a triangle.
public GeoLine3 GetShortestLineTo(GeoTriangle3 triangle)
Parameters
triangleGeoTriangle3
Returns
GetShortestLineTo(GeoTriangle3, Tolerance)
Gets the shortest segment joining this solid to a triangle, within a tolerance.
public GeoLine3 GetShortestLineTo(GeoTriangle3 triangle, Tolerance tolerance)
Parameters
triangleGeoTriangle3toleranceTolerance
Returns
GetShortestLineTo(GeoSolid3)
Gets the shortest segment joining this solid to another solid.
public GeoLine3 GetShortestLineTo(GeoSolid3 other)
Parameters
otherGeoSolid3
Returns
GetShortestLineTo(GeoSolid3, Tolerance)
Gets the shortest segment joining this solid to another solid, within a tolerance.
public GeoLine3 GetShortestLineTo(GeoSolid3 other, Tolerance tolerance)
Parameters
Returns
GetShortestLineTo(GeoRay3)
Gets the shortest segment joining this solid to a ray.
public GeoLine3 GetShortestLineTo(GeoRay3 ray)
Parameters
rayGeoRay3
Returns
GetShortestLineTo(GeoRay3, Tolerance)
Gets the shortest segment joining this solid to a ray, within a tolerance.
public GeoLine3 GetShortestLineTo(GeoRay3 ray, Tolerance tolerance)