Method GetShortestLineTo
- Namespace
- GeometryHelper.Geometry
- Assembly
- GeometryHelper.dll
GetShortestLineTo(GeoArc2)
Gets the shortest segment joining this polyline to an arc.
public GeoLine2 GetShortestLineTo(GeoArc2 arc)
Parameters
arcGeoArc2
Returns
GetShortestLineTo(GeoArc2, Tolerance)
Gets the shortest segment joining this polyline to an arc, within a tolerance.
public GeoLine2 GetShortestLineTo(GeoArc2 arc, Tolerance tolerance)
Parameters
Returns
GetShortestLineTo(GeoPolygonArc2)
Gets the shortest segment joining this polyline to a curved loop.
public GeoLine2 GetShortestLineTo(GeoPolygonArc2 loop)
Parameters
loopGeoPolygonArc2
Returns
GetShortestLineTo(GeoPolygonArc2, Tolerance)
Gets the shortest segment joining this polyline to a curved loop, within a tolerance.
public GeoLine2 GetShortestLineTo(GeoPolygonArc2 loop, Tolerance tolerance)
Parameters
loopGeoPolygonArc2toleranceTolerance
Returns
GetShortestLineTo(GeoPolylineArc2)
Gets the shortest segment joining this polyline to a curved chain.
public GeoLine2 GetShortestLineTo(GeoPolylineArc2 chain)
Parameters
chainGeoPolylineArc2
Returns
GetShortestLineTo(GeoPolylineArc2, Tolerance)
Gets the shortest segment joining this polyline to a curved chain, within a tolerance.
public GeoLine2 GetShortestLineTo(GeoPolylineArc2 chain, Tolerance tolerance)
Parameters
chainGeoPolylineArc2toleranceTolerance
Returns
GetShortestLineTo(GeoLine2)
Finds the shortest line segment connecting a point on this polyline to a point on a line segment using default tolerance.
public GeoLine2 GetShortestLineTo(GeoLine2 line)
Parameters
lineGeoLine2
Returns
Remarks
Both ends of the returned segment sit on a boundary, so a shape lying entirely inside another still reports the gap out to its outline rather than zero. Distance2 takes the opposite view and treats a closed shape as a filled region, returning zero for that same pair.
GetShortestLineTo(GeoLine2, Tolerance)
Finds the shortest line segment connecting a point on this polyline to a point on a line segment within tolerance.
public GeoLine2 GetShortestLineTo(GeoLine2 line, Tolerance tolerance)
Parameters
Returns
Remarks
Both ends of the returned segment sit on a boundary, so a shape lying entirely inside another still reports the gap out to its outline rather than zero. Distance2 takes the opposite view and treats a closed shape as a filled region, returning zero for that same pair.
GetShortestLineTo(GeoCircle2)
Finds the shortest line segment connecting a point on this polyline to a point on the circumference of a circle using default tolerance.
public GeoLine2 GetShortestLineTo(GeoCircle2 circle)
Parameters
circleGeoCircle2
Returns
Remarks
Both ends of the returned segment sit on a boundary, so a shape lying entirely inside another still reports the gap out to its outline rather than zero. Distance2 takes the opposite view and treats a closed shape as a filled region, returning zero for that same pair.
GetShortestLineTo(GeoCircle2, Tolerance)
Finds the shortest line segment connecting a point on this polyline to a point on the circumference of a circle within tolerance.
public GeoLine2 GetShortestLineTo(GeoCircle2 circle, Tolerance tolerance)
Parameters
circleGeoCircle2toleranceTolerance
Returns
Remarks
Both ends of the returned segment sit on a boundary, so a shape lying entirely inside another still reports the gap out to its outline rather than zero. Distance2 takes the opposite view and treats a closed shape as a filled region, returning zero for that same pair.
GetShortestLineTo(GeoRectangle2)
Finds the shortest line segment connecting a point on this polyline to a point on the boundary of a rectangle using default tolerance.
public GeoLine2 GetShortestLineTo(GeoRectangle2 rect)
Parameters
rectGeoRectangle2
Returns
Remarks
Both ends of the returned segment sit on a boundary, so a shape lying entirely inside another still reports the gap out to its outline rather than zero. Distance2 takes the opposite view and treats a closed shape as a filled region, returning zero for that same pair.
GetShortestLineTo(GeoRectangle2, Tolerance)
Finds the shortest line segment connecting a point on this polyline to a point on the boundary of a rectangle within tolerance.
public GeoLine2 GetShortestLineTo(GeoRectangle2 rect, Tolerance tolerance)
Parameters
rectGeoRectangle2toleranceTolerance
Returns
Remarks
Both ends of the returned segment sit on a boundary, so a shape lying entirely inside another still reports the gap out to its outline rather than zero. Distance2 takes the opposite view and treats a closed shape as a filled region, returning zero for that same pair.
GetShortestLineTo(GeoPolyline2)
Finds the shortest line segment connecting a point on this polyline to a point on another polyline using default tolerance.
public GeoLine2 GetShortestLineTo(GeoPolyline2 other)
Parameters
otherGeoPolyline2
Returns
Remarks
Both ends of the returned segment sit on a boundary, so a shape lying entirely inside another still reports the gap out to its outline rather than zero. Distance2 takes the opposite view and treats a closed shape as a filled region, returning zero for that same pair.
GetShortestLineTo(GeoPolyline2, Tolerance)
Finds the shortest line segment connecting a point on this polyline to a point on another polyline within tolerance.
public GeoLine2 GetShortestLineTo(GeoPolyline2 other, Tolerance tolerance)
Parameters
otherGeoPolyline2toleranceTolerance
Returns
Remarks
Both ends of the returned segment sit on a boundary, so a shape lying entirely inside another still reports the gap out to its outline rather than zero. Distance2 takes the opposite view and treats a closed shape as a filled region, returning zero for that same pair.
GetShortestLineTo(GeoPolygon2)
Finds the shortest line segment connecting a point on this polyline to a point on the boundary of a polygon using default tolerance.
public GeoLine2 GetShortestLineTo(GeoPolygon2 poly)
Parameters
polyGeoPolygon2
Returns
Remarks
Both ends of the returned segment sit on a boundary, so a shape lying entirely inside another still reports the gap out to its outline rather than zero. Distance2 takes the opposite view and treats a closed shape as a filled region, returning zero for that same pair.
GetShortestLineTo(GeoPolygon2, Tolerance)
Finds the shortest line segment connecting a point on this polyline to a point on the boundary of a polygon within tolerance.
public GeoLine2 GetShortestLineTo(GeoPolygon2 poly, Tolerance tolerance)
Parameters
polyGeoPolygon2toleranceTolerance
Returns
Remarks
Both ends of the returned segment sit on a boundary, so a shape lying entirely inside another still reports the gap out to its outline rather than zero. Distance2 takes the opposite view and treats a closed shape as a filled region, returning zero for that same pair.
GetShortestLineTo(GeoFace2)
Gets the shortest segment leaving this polyline and landing on the boundary of a face, using the default tolerance.
public GeoLine2 GetShortestLineTo(GeoFace2 face)
Parameters
faceGeoFace2
Returns
GetShortestLineTo(GeoFace2, Tolerance)
Gets the shortest segment leaving this polyline and landing on the boundary of a face, within a tolerance.
public GeoLine2 GetShortestLineTo(GeoFace2 face, Tolerance tolerance)
Parameters
Returns
GetShortestLineTo(GeoEdge2)
Gets the shortest segment leaving this polyline and landing on an edge.
public GeoLine2 GetShortestLineTo(GeoEdge2 edge)
Parameters
edgeGeoEdge2
Returns
GetShortestLineTo(GeoEdge2, Tolerance)
Gets the shortest segment leaving this polyline and landing on an edge, within a tolerance.
public GeoLine2 GetShortestLineTo(GeoEdge2 edge, Tolerance tolerance)
Parameters
Returns
GetShortestLineTo(GeoTriangle2)
Gets the shortest segment leaving this polyline and landing on a triangle, using the default tolerance.
public GeoLine2 GetShortestLineTo(GeoTriangle2 triangle)
Parameters
triangleGeoTriangle2
Returns
GetShortestLineTo(GeoTriangle2, Tolerance)
Gets the shortest segment leaving this polyline and landing on a triangle, within a tolerance.
public GeoLine2 GetShortestLineTo(GeoTriangle2 triangle, Tolerance tolerance)
Parameters
triangleGeoTriangle2toleranceTolerance