Table of Contents

Method GetShortestLineTo

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

GetShortestLineTo(GeoPoint2)

Gets the shortest segment leaving the boundary of this face and landing on a point.

public GeoLine2 GetShortestLineTo(GeoPoint2 point)

Parameters

point GeoPoint2

Returns

GeoLine2

GetShortestLineTo(GeoPoint2, Tolerance)

Gets the shortest segment leaving the boundary of this face and landing on a point, within a tolerance.

public GeoLine2 GetShortestLineTo(GeoPoint2 point, Tolerance tolerance)

Parameters

point GeoPoint2
tolerance Tolerance

Returns

GeoLine2

GetShortestLineTo(GeoLine2)

Gets the shortest segment leaving the boundary of this face and landing on a segment.

public GeoLine2 GetShortestLineTo(GeoLine2 line)

Parameters

line GeoLine2

Returns

GeoLine2

GetShortestLineTo(GeoLine2, Tolerance)

Gets the shortest segment leaving the boundary of this face and landing on a segment, within a tolerance.

public GeoLine2 GetShortestLineTo(GeoLine2 line, Tolerance tolerance)

Parameters

line GeoLine2
tolerance Tolerance

Returns

GeoLine2

GetShortestLineTo(GeoArc2)

Gets the shortest segment leaving the boundary of this face and landing on a arc.

public GeoLine2 GetShortestLineTo(GeoArc2 arc)

Parameters

arc GeoArc2

Returns

GeoLine2

GetShortestLineTo(GeoArc2, Tolerance)

Gets the shortest segment leaving the boundary of this face and landing on a arc, within a tolerance.

public GeoLine2 GetShortestLineTo(GeoArc2 arc, Tolerance tolerance)

Parameters

arc GeoArc2
tolerance Tolerance

Returns

GeoLine2

GetShortestLineTo(GeoCircle2)

Gets the shortest segment leaving the boundary of this face and landing on a circle.

public GeoLine2 GetShortestLineTo(GeoCircle2 circle)

Parameters

circle GeoCircle2

Returns

GeoLine2

GetShortestLineTo(GeoCircle2, Tolerance)

Gets the shortest segment leaving the boundary of this face and landing on a circle, within a tolerance.

public GeoLine2 GetShortestLineTo(GeoCircle2 circle, Tolerance tolerance)

Parameters

circle GeoCircle2
tolerance Tolerance

Returns

GeoLine2

GetShortestLineTo(GeoRectangle2)

Gets the shortest segment leaving the boundary of this face and landing on a rectangle.

public GeoLine2 GetShortestLineTo(GeoRectangle2 rect)

Parameters

rect GeoRectangle2

Returns

GeoLine2

GetShortestLineTo(GeoRectangle2, Tolerance)

Gets the shortest segment leaving the boundary of this face and landing on a rectangle, within a tolerance.

public GeoLine2 GetShortestLineTo(GeoRectangle2 rect, Tolerance tolerance)

Parameters

rect GeoRectangle2
tolerance Tolerance

Returns

GeoLine2

GetShortestLineTo(GeoPolyline2)

Gets the shortest segment leaving the boundary of this face and landing on a polyline.

public GeoLine2 GetShortestLineTo(GeoPolyline2 polyline)

Parameters

polyline GeoPolyline2

Returns

GeoLine2

GetShortestLineTo(GeoPolyline2, Tolerance)

Gets the shortest segment leaving the boundary of this face and landing on a polyline, within a tolerance.

public GeoLine2 GetShortestLineTo(GeoPolyline2 polyline, Tolerance tolerance)

Parameters

polyline GeoPolyline2
tolerance Tolerance

Returns

GeoLine2

GetShortestLineTo(GeoPolygon2)

Gets the shortest segment leaving the boundary of this face and landing on a polygon.

public GeoLine2 GetShortestLineTo(GeoPolygon2 polygon)

Parameters

polygon GeoPolygon2

Returns

GeoLine2

GetShortestLineTo(GeoPolygon2, Tolerance)

Gets the shortest segment leaving the boundary of this face and landing on a polygon, within a tolerance.

public GeoLine2 GetShortestLineTo(GeoPolygon2 polygon, Tolerance tolerance)

Parameters

polygon GeoPolygon2
tolerance Tolerance

Returns

GeoLine2

GetShortestLineTo(GeoPolygonArc2)

Gets the shortest segment leaving the boundary of this face and landing on a curved loop.

public GeoLine2 GetShortestLineTo(GeoPolygonArc2 loop)

Parameters

loop GeoPolygonArc2

Returns

GeoLine2

GetShortestLineTo(GeoPolygonArc2, Tolerance)

Gets the shortest segment leaving the boundary of this face and landing on a curved loop, within a tolerance.

public GeoLine2 GetShortestLineTo(GeoPolygonArc2 loop, Tolerance tolerance)

Parameters

loop GeoPolygonArc2
tolerance Tolerance

Returns

GeoLine2

GetShortestLineTo(GeoPolylineArc2)

Gets the shortest segment leaving the boundary of this face and landing on a curved chain.

public GeoLine2 GetShortestLineTo(GeoPolylineArc2 chain)

Parameters

chain GeoPolylineArc2

Returns

GeoLine2

GetShortestLineTo(GeoPolylineArc2, Tolerance)

Gets the shortest segment leaving the boundary of this face and landing on a curved chain, within a tolerance.

public GeoLine2 GetShortestLineTo(GeoPolylineArc2 chain, Tolerance tolerance)

Parameters

chain GeoPolylineArc2
tolerance Tolerance

Returns

GeoLine2

GetShortestLineTo(GeoEdge2)

Gets the shortest segment leaving this face and landing on an edge.

public GeoLine2 GetShortestLineTo(GeoEdge2 edge)

Parameters

edge GeoEdge2

Returns

GeoLine2

GetShortestLineTo(GeoEdge2, Tolerance)

Gets the shortest segment leaving this face and landing on an edge, within a tolerance.

public GeoLine2 GetShortestLineTo(GeoEdge2 edge, Tolerance tolerance)

Parameters

edge GeoEdge2
tolerance Tolerance

Returns

GeoLine2

GetShortestLineTo(GeoTriangle2)

Gets the shortest segment leaving this face and landing on a triangle, using the default tolerance.

public GeoLine2 GetShortestLineTo(GeoTriangle2 triangle)

Parameters

triangle GeoTriangle2

Returns

GeoLine2

GetShortestLineTo(GeoTriangle2, Tolerance)

Gets the shortest segment leaving this face and landing on a triangle, within a tolerance.

public GeoLine2 GetShortestLineTo(GeoTriangle2 triangle, Tolerance tolerance)

Parameters

triangle GeoTriangle2
tolerance Tolerance

Returns

GeoLine2