Table of Contents

Method DistanceTo

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

DistanceTo(GeoPoint2)

Gets the distance from the loop to a point.

public double DistanceTo(GeoPoint2 point)

Parameters

point GeoPoint2

Returns

double

DistanceTo(GeoPoint2, Tolerance)

Gets the distance from the loop to a point, within a tolerance.

public double DistanceTo(GeoPoint2 point, Tolerance tolerance)

Parameters

point GeoPoint2
tolerance Tolerance

Returns

double

DistanceTo(GeoLine2)

Gets the distance from the loop to a straight segment.

public double DistanceTo(GeoLine2 line)

Parameters

line GeoLine2

Returns

double

DistanceTo(GeoLine2, Tolerance)

Gets the distance from the loop to a straight segment, within a tolerance.

public double DistanceTo(GeoLine2 line, Tolerance tolerance)

Parameters

line GeoLine2
tolerance Tolerance

Returns

double

DistanceTo(GeoArc2)

Gets the distance from the loop to an arc.

public double DistanceTo(GeoArc2 arc)

Parameters

arc GeoArc2

Returns

double

DistanceTo(GeoArc2, Tolerance)

Gets the distance from the loop to an arc, within a tolerance.

public double DistanceTo(GeoArc2 arc, Tolerance tolerance)

Parameters

arc GeoArc2
tolerance Tolerance

Returns

double

DistanceTo(GeoPolyline2)

Gets the distance from the loop to a straight chain.

public double DistanceTo(GeoPolyline2 polyline)

Parameters

polyline GeoPolyline2

Returns

double

DistanceTo(GeoPolyline2, Tolerance)

Gets the distance from the loop to a straight chain, within a tolerance.

public double DistanceTo(GeoPolyline2 polyline, Tolerance tolerance)

Parameters

polyline GeoPolyline2
tolerance Tolerance

Returns

double

DistanceTo(GeoPolygon2)

Gets the distance from the loop to a straight loop.

public double DistanceTo(GeoPolygon2 polygon)

Parameters

polygon GeoPolygon2

Returns

double

DistanceTo(GeoPolygon2, Tolerance)

Gets the distance from the loop to a straight loop, within a tolerance.

public double DistanceTo(GeoPolygon2 polygon, Tolerance tolerance)

Parameters

polygon GeoPolygon2
tolerance Tolerance

Returns

double

DistanceTo(GeoPolylineArc2)

Gets the distance from the loop to a chain that may curve.

public double DistanceTo(GeoPolylineArc2 chain)

Parameters

chain GeoPolylineArc2

Returns

double

DistanceTo(GeoPolylineArc2, Tolerance)

Gets the distance from the loop to a chain that may curve, within a tolerance.

public double DistanceTo(GeoPolylineArc2 chain, Tolerance tolerance)

Parameters

chain GeoPolylineArc2
tolerance Tolerance

Returns

double

DistanceTo(GeoPolygonArc2)

Gets the distance from the loop to a loop that may curve.

public double DistanceTo(GeoPolygonArc2 other)

Parameters

other GeoPolygonArc2

Returns

double

DistanceTo(GeoPolygonArc2, Tolerance)

Gets the distance from the loop to a loop that may curve, within a tolerance.

public double DistanceTo(GeoPolygonArc2 other, Tolerance tolerance)

Parameters

other GeoPolygonArc2
tolerance Tolerance

Returns

double

DistanceTo(GeoCircle2)

Gets the distance from the loop to a circle.

public double DistanceTo(GeoCircle2 circle)

Parameters

circle GeoCircle2

Returns

double

DistanceTo(GeoCircle2, Tolerance)

Gets the distance from the loop to a circle, within a tolerance.

public double DistanceTo(GeoCircle2 circle, Tolerance tolerance)

Parameters

circle GeoCircle2
tolerance Tolerance

Returns

double

DistanceTo(GeoRectangle2)

Calculates the shortest distance from this curved loop to a rectangle.

public double DistanceTo(GeoRectangle2 rect)

Parameters

rect GeoRectangle2

Returns

double

DistanceTo(GeoRectangle2, Tolerance)

Calculates the shortest distance from this curved loop to a rectangle, within a tolerance.

public double DistanceTo(GeoRectangle2 rect, Tolerance tolerance)

Parameters

rect GeoRectangle2
tolerance Tolerance

Returns

double

DistanceTo(GeoEdge2)

Gets the distance from this curved loop to an edge.

public double DistanceTo(GeoEdge2 edge)

Parameters

edge GeoEdge2

Returns

double

DistanceTo(GeoEdge2, Tolerance)

Gets the distance from this curved loop to an edge, within a tolerance.

public double DistanceTo(GeoEdge2 edge, Tolerance tolerance)

Parameters

edge GeoEdge2
tolerance Tolerance

Returns

double

DistanceTo(GeoTriangle2)

Gets the distance from this curved loop to a triangle.

public double DistanceTo(GeoTriangle2 triangle)

Parameters

triangle GeoTriangle2

Returns

double

DistanceTo(GeoTriangle2, Tolerance)

Gets the distance from this curved loop to a triangle, within a tolerance.

public double DistanceTo(GeoTriangle2 triangle, Tolerance tolerance)

Parameters

triangle GeoTriangle2
tolerance Tolerance

Returns

double