Table of Contents

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

triangle GeoTriangle2
line GeoLine2

Returns

GeoLine2

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

triangle GeoTriangle2
line GeoLine2
tolerance Tolerance

Returns

GeoLine2

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

triangle GeoTriangle2
circle GeoCircle2

Returns

GeoLine2

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

triangle GeoTriangle2
circle GeoCircle2
tolerance Tolerance

Returns

GeoLine2

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

triangle GeoTriangle2
rect GeoRectangle2

Returns

GeoLine2

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

triangle GeoTriangle2
rect GeoRectangle2
tolerance Tolerance

Returns

GeoLine2

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

triangle GeoTriangle2
polyline GeoPolyline2

Returns

GeoLine2

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

triangle GeoTriangle2
polyline GeoPolyline2
tolerance Tolerance

Returns

GeoLine2

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

triangle GeoTriangle2
polygon GeoPolygon2

Returns

GeoLine2

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

triangle GeoTriangle2
polygon GeoPolygon2
tolerance Tolerance

Returns

GeoLine2

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

triangle GeoTriangle2
arc GeoArc2

Returns

GeoLine2

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

triangle GeoTriangle2
arc GeoArc2
tolerance Tolerance

Returns

GeoLine2

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

triangle GeoTriangle2
loop GeoPolygonArc2

Returns

GeoLine2

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

triangle GeoTriangle2
loop GeoPolygonArc2
tolerance Tolerance

Returns

GeoLine2

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

triangle GeoTriangle2
chain GeoPolylineArc2

Returns

GeoLine2

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

triangle GeoTriangle2
chain GeoPolylineArc2
tolerance Tolerance

Returns

GeoLine2

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

triangle GeoTriangle2
face GeoFace2

Returns

GeoLine2

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

triangle GeoTriangle2
face GeoFace2
tolerance Tolerance

Returns

GeoLine2

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

triangle GeoTriangle2
edge GeoEdge2

Returns

GeoLine2

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

triangle GeoTriangle2
edge GeoEdge2
tolerance Tolerance

Returns

GeoLine2

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

triangle GeoTriangle2
other GeoTriangle2

Returns

GeoLine2

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

triangle GeoTriangle2
other GeoTriangle2
tolerance Tolerance

Returns

GeoLine2