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