Table of Contents

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

point GeoPoint3

Returns

GeoLine3

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

point GeoPoint3
tolerance Tolerance

Returns

GeoLine3

GetShortestLineTo(GeoLine3)

Gets the shortest segment joining this solid to a line segment.

public GeoLine3 GetShortestLineTo(GeoLine3 line)

Parameters

line GeoLine3

Returns

GeoLine3

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

line GeoLine3
tolerance Tolerance

Returns

GeoLine3

GetShortestLineTo(GeoTriangle3)

Gets the shortest segment joining this solid to a triangle.

public GeoLine3 GetShortestLineTo(GeoTriangle3 triangle)

Parameters

triangle GeoTriangle3

Returns

GeoLine3

GetShortestLineTo(GeoTriangle3, Tolerance)

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

public GeoLine3 GetShortestLineTo(GeoTriangle3 triangle, Tolerance tolerance)

Parameters

triangle GeoTriangle3
tolerance Tolerance

Returns

GeoLine3

GetShortestLineTo(GeoSolid3)

Gets the shortest segment joining this solid to another solid.

public GeoLine3 GetShortestLineTo(GeoSolid3 other)

Parameters

other GeoSolid3

Returns

GeoLine3

GetShortestLineTo(GeoSolid3, Tolerance)

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

public GeoLine3 GetShortestLineTo(GeoSolid3 other, Tolerance tolerance)

Parameters

other GeoSolid3
tolerance Tolerance

Returns

GeoLine3

GetShortestLineTo(GeoRay3)

Gets the shortest segment joining this solid to a ray.

public GeoLine3 GetShortestLineTo(GeoRay3 ray)

Parameters

ray GeoRay3

Returns

GeoLine3

GetShortestLineTo(GeoRay3, Tolerance)

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

public GeoLine3 GetShortestLineTo(GeoRay3 ray, Tolerance tolerance)

Parameters

ray GeoRay3
tolerance Tolerance

Returns

GeoLine3