Method GetShortestLineTo
- Namespace
- GeometryHelper.Core
- Assembly
- GeometryHelper.dll
GetShortestLineTo(GeoTriangle2, GeoLine2)
Gets the shortest segment leaving a triangle and landing on a segment, using the default tolerance.
public static GeoLine2 GetShortestLineTo(GeoTriangle2 triangle, GeoLine2 line)
Parameters
triangleGeoTriangle2lineGeoLine2
Returns
GetShortestLineTo(GeoTriangle2, GeoLine2, Tolerance)
Gets the shortest segment leaving a triangle and landing on a segment, within a tolerance.
public static GeoLine2 GetShortestLineTo(GeoTriangle2 triangle, GeoLine2 line, Tolerance tolerance)
Parameters
triangleGeoTriangle2lineGeoLine2toleranceTolerance
Returns
GetShortestLineTo(GeoTriangle2, GeoCircle2)
Gets the shortest segment leaving a triangle and landing on a circle, using the default tolerance.
public static GeoLine2 GetShortestLineTo(GeoTriangle2 triangle, GeoCircle2 circle)
Parameters
triangleGeoTriangle2circleGeoCircle2
Returns
GetShortestLineTo(GeoTriangle2, GeoCircle2, Tolerance)
Gets the shortest segment leaving a triangle and landing on a circle, within a tolerance.
public static GeoLine2 GetShortestLineTo(GeoTriangle2 triangle, GeoCircle2 circle, Tolerance tolerance)
Parameters
triangleGeoTriangle2circleGeoCircle2toleranceTolerance
Returns
GetShortestLineTo(GeoTriangle2, GeoRectangle2)
Gets the shortest segment leaving a triangle and landing on a rectangle, using the default tolerance.
public static GeoLine2 GetShortestLineTo(GeoTriangle2 triangle, GeoRectangle2 rect)
Parameters
triangleGeoTriangle2rectGeoRectangle2
Returns
GetShortestLineTo(GeoTriangle2, GeoRectangle2, Tolerance)
Gets the shortest segment leaving a triangle and landing on a rectangle, within a tolerance.
public static GeoLine2 GetShortestLineTo(GeoTriangle2 triangle, GeoRectangle2 rect, Tolerance tolerance)
Parameters
triangleGeoTriangle2rectGeoRectangle2toleranceTolerance
Returns
GetShortestLineTo(GeoTriangle2, GeoPolyline2)
Gets the shortest segment leaving a triangle and landing on a polyline, using the default tolerance.
public static GeoLine2 GetShortestLineTo(GeoTriangle2 triangle, GeoPolyline2 polyline)
Parameters
triangleGeoTriangle2polylineGeoPolyline2
Returns
GetShortestLineTo(GeoTriangle2, GeoPolyline2, Tolerance)
Gets the shortest segment leaving a triangle and landing on a polyline, within a tolerance.
public static GeoLine2 GetShortestLineTo(GeoTriangle2 triangle, GeoPolyline2 polyline, Tolerance tolerance)
Parameters
triangleGeoTriangle2polylineGeoPolyline2toleranceTolerance
Returns
GetShortestLineTo(GeoTriangle2, GeoPolygon2)
Gets the shortest segment leaving a triangle and landing on a polygon, using the default tolerance.
public static GeoLine2 GetShortestLineTo(GeoTriangle2 triangle, GeoPolygon2 polygon)
Parameters
triangleGeoTriangle2polygonGeoPolygon2
Returns
GetShortestLineTo(GeoTriangle2, GeoPolygon2, Tolerance)
Gets the shortest segment leaving a triangle and landing on a polygon, within a tolerance.
public static GeoLine2 GetShortestLineTo(GeoTriangle2 triangle, GeoPolygon2 polygon, Tolerance tolerance)
Parameters
triangleGeoTriangle2polygonGeoPolygon2toleranceTolerance
Returns
GetShortestLineTo(GeoTriangle2, GeoArc2)
Gets the shortest segment leaving a triangle and landing on an arc, using the default tolerance.
public static GeoLine2 GetShortestLineTo(GeoTriangle2 triangle, GeoArc2 arc)
Parameters
triangleGeoTriangle2arcGeoArc2
Returns
GetShortestLineTo(GeoTriangle2, GeoArc2, Tolerance)
Gets the shortest segment leaving a triangle and landing on an arc, within a tolerance.
public static GeoLine2 GetShortestLineTo(GeoTriangle2 triangle, GeoArc2 arc, Tolerance tolerance)
Parameters
triangleGeoTriangle2arcGeoArc2toleranceTolerance
Returns
GetShortestLineTo(GeoTriangle2, GeoPolygonArc2)
Gets the shortest segment leaving a triangle and landing on a curved loop, using the default tolerance.
public static GeoLine2 GetShortestLineTo(GeoTriangle2 triangle, GeoPolygonArc2 loop)
Parameters
triangleGeoTriangle2loopGeoPolygonArc2
Returns
GetShortestLineTo(GeoTriangle2, GeoPolygonArc2, Tolerance)
Gets the shortest segment leaving a triangle and landing on a curved loop, within a tolerance.
public static GeoLine2 GetShortestLineTo(GeoTriangle2 triangle, GeoPolygonArc2 loop, Tolerance tolerance)
Parameters
triangleGeoTriangle2loopGeoPolygonArc2toleranceTolerance
Returns
GetShortestLineTo(GeoTriangle2, GeoPolylineArc2)
Gets the shortest segment leaving a triangle and landing on a curved chain, using the default tolerance.
public static GeoLine2 GetShortestLineTo(GeoTriangle2 triangle, GeoPolylineArc2 chain)
Parameters
triangleGeoTriangle2chainGeoPolylineArc2
Returns
GetShortestLineTo(GeoTriangle2, GeoPolylineArc2, Tolerance)
Gets the shortest segment leaving a triangle and landing on a curved chain, within a tolerance.
public static GeoLine2 GetShortestLineTo(GeoTriangle2 triangle, GeoPolylineArc2 chain, Tolerance tolerance)
Parameters
triangleGeoTriangle2chainGeoPolylineArc2toleranceTolerance
Returns
GetShortestLineTo(GeoTriangle2, GeoFace2)
Gets the shortest segment leaving a triangle and landing on a face, using the default tolerance.
public static GeoLine2 GetShortestLineTo(GeoTriangle2 triangle, GeoFace2 face)
Parameters
triangleGeoTriangle2faceGeoFace2
Returns
GetShortestLineTo(GeoTriangle2, GeoFace2, Tolerance)
Gets the shortest segment leaving a triangle and landing on a face, within a tolerance.
public static GeoLine2 GetShortestLineTo(GeoTriangle2 triangle, GeoFace2 face, Tolerance tolerance)
Parameters
triangleGeoTriangle2faceGeoFace2toleranceTolerance
Returns
GetShortestLineTo(GeoTriangle2, GeoEdge2)
Gets the shortest segment leaving a triangle and landing on an edge, using the default tolerance.
public static GeoLine2 GetShortestLineTo(GeoTriangle2 triangle, GeoEdge2 edge)
Parameters
triangleGeoTriangle2edgeGeoEdge2
Returns
GetShortestLineTo(GeoTriangle2, GeoEdge2, Tolerance)
Gets the shortest segment leaving a triangle and landing on an edge, within a tolerance.
public static GeoLine2 GetShortestLineTo(GeoTriangle2 triangle, GeoEdge2 edge, Tolerance tolerance)
Parameters
triangleGeoTriangle2edgeGeoEdge2toleranceTolerance
Returns
GetShortestLineTo(GeoTriangle2, GeoTriangle2)
Gets the shortest segment leaving a triangle and landing on another triangle, using the default tolerance.
public static GeoLine2 GetShortestLineTo(GeoTriangle2 triangle, GeoTriangle2 other)
Parameters
triangleGeoTriangle2otherGeoTriangle2
Returns
GetShortestLineTo(GeoTriangle2, GeoTriangle2, Tolerance)
Gets the shortest segment leaving a triangle and landing on another triangle, within a tolerance.
public static GeoLine2 GetShortestLineTo(GeoTriangle2 triangle, GeoTriangle2 other, Tolerance tolerance)
Parameters
triangleGeoTriangle2otherGeoTriangle2toleranceTolerance