Method DistanceTo
- Namespace
- GeometryHelper.Geometry
- Assembly
- GeometryHelper.dll
DistanceTo(GeoCircle2)
Calculates the shortest boundary distance from this polygon to a circle.
public double DistanceTo(GeoCircle2 circle)
Parameters
circleGeoCircle2
Returns
DistanceTo(GeoPolyline2)
Calculates the shortest boundary distance from this polygon to a polyline.
public double DistanceTo(GeoPolyline2 polyline)
Parameters
polylineGeoPolyline2
Returns
DistanceTo(GeoPolygon2)
Calculates the shortest boundary distance from this polygon to another polygon.
public double DistanceTo(GeoPolygon2 other)
Parameters
otherGeoPolygon2
Returns
DistanceTo(GeoRectangle2)
Calculates the shortest boundary distance from this polygon to a rectangle.
public double DistanceTo(GeoRectangle2 rect)
Parameters
rectGeoRectangle2
Returns
DistanceTo(GeoLine2)
Calculates the shortest boundary distance from this polygon to a line segment.
public double DistanceTo(GeoLine2 line)
Parameters
lineGeoLine2
Returns
DistanceTo(GeoPoint2)
Calculates the shortest distance from this polygon boundary to a point.
public double DistanceTo(GeoPoint2 point)
Parameters
pointGeoPoint2
Returns
DistanceTo(GeoArc2)
Calculates the shortest distance from this polygon to an arc.
public double DistanceTo(GeoArc2 arc)
Parameters
arcGeoArc2
Returns
DistanceTo(GeoArc2, Tolerance)
Calculates the shortest distance from this polygon to an arc, within a tolerance.
public double DistanceTo(GeoArc2 arc, Tolerance tolerance)
Parameters
Returns
DistanceTo(GeoPolygonArc2)
Calculates the shortest distance from this polygon to a curved loop.
public double DistanceTo(GeoPolygonArc2 loop)
Parameters
loopGeoPolygonArc2
Returns
DistanceTo(GeoPolygonArc2, Tolerance)
Calculates the shortest distance from this polygon to a curved loop, within a tolerance.
public double DistanceTo(GeoPolygonArc2 loop, Tolerance tolerance)
Parameters
loopGeoPolygonArc2toleranceTolerance
Returns
DistanceTo(GeoPolylineArc2)
Calculates the shortest distance from this polygon to a curved chain.
public double DistanceTo(GeoPolylineArc2 chain)
Parameters
chainGeoPolylineArc2
Returns
DistanceTo(GeoPolylineArc2, Tolerance)
Calculates the shortest distance from this polygon to a curved chain, within a tolerance.
public double DistanceTo(GeoPolylineArc2 chain, Tolerance tolerance)
Parameters
chainGeoPolylineArc2toleranceTolerance
Returns
DistanceTo(GeoEdge2)
Gets the distance from this polygon to an edge.
public double DistanceTo(GeoEdge2 edge)
Parameters
edgeGeoEdge2
Returns
DistanceTo(GeoTriangle2)
Gets the distance from this polygon to a triangle.
public double DistanceTo(GeoTriangle2 triangle)
Parameters
triangleGeoTriangle2