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
otherGeoLine3
Returns
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
Returns
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
otherGeoLine3The other segment.
extensionLineExtensionWhich segment may be reached past its endpoints: First is this one, Second the other.
Returns
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
otherGeoLine3The other segment.
extensionLineExtensionWhich segment may be reached past its endpoints: First is this one, Second the other.
toleranceToleranceThe tolerance.
Returns
GetShortestLineTo(GeoTriangle3)
Gets the shortest segment joining this one to a triangle, using the default tolerance.
public GeoLine3 GetShortestLineTo(GeoTriangle3 triangle)
Parameters
triangleGeoTriangle3
Returns
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
triangleGeoTriangle3toleranceTolerance
Returns
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
rayGeoRay3
Returns
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
Returns
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
solidGeoSolid3
Returns
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
Returns
Remarks
The segment leaves this segment and lands on the solid, so its length is the clearance between them and nought where they touch.