Method DistanceTo
- Namespace
- GeometryHelper.Geometry
- Assembly
- GeometryHelper.dll
DistanceTo(GeoPoint3)
Calculates the Euclidean distance to another point.
public double DistanceTo(GeoPoint3 other)
Parameters
otherGeoPoint3
Returns
DistanceTo(GeoLine3)
Calculates the shortest distance to a line segment.
public double DistanceTo(GeoLine3 line)
Parameters
lineGeoLine3
Returns
DistanceTo(GeoRay3)
Calculates the shortest distance to a ray.
public double DistanceTo(GeoRay3 ray)
Parameters
rayGeoRay3
Returns
DistanceTo(GeoPlane3)
Calculates the perpendicular distance to a plane.
public double DistanceTo(GeoPlane3 plane)
Parameters
planeGeoPlane3
Returns
DistanceTo(GeoTriangle3)
Calculates the shortest distance to a triangle.
public double DistanceTo(GeoTriangle3 triangle)
Parameters
triangleGeoTriangle3
Returns
DistanceTo(GeoPolyline3)
Calculates the shortest distance to a polyline.
public double DistanceTo(GeoPolyline3 polyline)
Parameters
polylineGeoPolyline3
Returns
DistanceTo(GeoPolygon3)
Calculates the shortest distance to a polygon, read as a filled surface.
public double DistanceTo(GeoPolygon3 polygon)
Parameters
polygonGeoPolygon3
Returns
DistanceTo(GeoFace3)
Calculates the shortest distance to a face, holes respected.
public double DistanceTo(GeoFace3 face)
Parameters
faceGeoFace3
Returns
DistanceTo(GeoCircle3)
Calculates the shortest distance to a circular disc, read as a filled surface.
public double DistanceTo(GeoCircle3 circle)
Parameters
circleGeoCircle3
Returns
DistanceTo(GeoObb3)
Calculates the shortest distance to an oriented box. A point inside is at distance zero.
public double DistanceTo(GeoObb3 box)
Parameters
boxGeoObb3
Returns
DistanceTo(GeoAabb3)
Calculates the shortest distance to an axis-aligned box. A point inside is at distance zero.
public double DistanceTo(GeoAabb3 box)
Parameters
boxGeoAabb3
Returns
DistanceTo(GeoSolid3)
Calculates the shortest distance to a solid. A point inside is at distance zero.
public double DistanceTo(GeoSolid3 solid)
Parameters
solidGeoSolid3