Table of Contents

Method GetShortestLineTo

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

GetShortestLineTo(GeoLine3)

Finds the shortest segment connecting a point on this segment to a point on another segment, using the default tolerance.

public GeoLine3 GetShortestLineTo(GeoLine3 other)

Parameters

other GeoLine3

Returns

GeoLine3

GetShortestLineTo(GeoLine3, Tolerance)

Finds the shortest segment connecting a point on this segment to a point on another segment, within a tolerance.

public GeoLine3 GetShortestLineTo(GeoLine3 other, Tolerance tolerance)

Parameters

other GeoLine3
tolerance Tolerance

Returns

GeoLine3

GetShortestLineTo(GeoLine3, LineExtension)

Finds the shortest segment connecting this segment and another, reading this one, the other or both as the infinite line carrying it, using the default tolerance. With Both this is Tekla's Intersection.LineToLine.

public GeoLine3 GetShortestLineTo(GeoLine3 other, LineExtension extension)

Parameters

other GeoLine3

The other segment.

extension LineExtension

Which segment may be reached past its endpoints: First is this one, Second the other.

Returns

GeoLine3

GetShortestLineTo(GeoLine3, LineExtension, Tolerance)

Finds the shortest segment connecting this segment and another, reading this one, the other or both as the infinite line carrying it, within a tolerance.

public GeoLine3 GetShortestLineTo(GeoLine3 other, LineExtension extension, Tolerance tolerance)

Parameters

other GeoLine3

The other segment.

extension LineExtension

Which segment may be reached past its endpoints: First is this one, Second the other.

tolerance Tolerance

The tolerance.

Returns

GeoLine3

GetShortestLineTo(GeoTriangle3)

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

public GeoLine3 GetShortestLineTo(GeoTriangle3 triangle)

Parameters

triangle GeoTriangle3

Returns

GeoLine3

Remarks

The segment leaves this segment 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 one to a triangle, within a tolerance.

public GeoLine3 GetShortestLineTo(GeoTriangle3 triangle, Tolerance tolerance)

Parameters

triangle GeoTriangle3
tolerance Tolerance

Returns

GeoLine3

Remarks

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

GetShortestLineTo(GeoRay3)

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

public GeoLine3 GetShortestLineTo(GeoRay3 ray)

Parameters

ray GeoRay3

Returns

GeoLine3

Remarks

The segment leaves this segment 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 one 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 segment 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 one to a solid, using the default tolerance.

public GeoLine3 GetShortestLineTo(GeoSolid3 solid)

Parameters

solid GeoSolid3

Returns

GeoLine3

Remarks

The segment leaves this segment 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 one 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 segment and lands on the solid, so its length is the clearance between them and nought where they touch.