Method DistanceTo
- Namespace
- GeometryHelper.Geometry
- Assembly
- GeometryHelper.dll
DistanceTo(GeoPoint3)
Calculates the shortest distance from this segment to a point.
public double DistanceTo(GeoPoint3 point)
Parameters
pointGeoPoint3
Returns
DistanceTo(GeoLine3)
Calculates the shortest distance between this segment and another segment.
public double DistanceTo(GeoLine3 other)
Parameters
otherGeoLine3
Returns
DistanceTo(GeoRay3)
Calculates the shortest distance between this segment and a ray.
public double DistanceTo(GeoRay3 ray)
Parameters
rayGeoRay3
Returns
DistanceTo(GeoPlane3)
Calculates the shortest distance between this segment and a plane.
public double DistanceTo(GeoPlane3 plane)
Parameters
planeGeoPlane3
Returns
DistanceTo(GeoTriangle3)
Calculates the shortest distance between this segment and a triangle.
public double DistanceTo(GeoTriangle3 triangle)
Parameters
triangleGeoTriangle3
Returns
DistanceTo(GeoPolygon3)
Calculates the shortest distance between this segment and a polygon.
public double DistanceTo(GeoPolygon3 polygon)
Parameters
polygonGeoPolygon3
Returns
DistanceTo(GeoSolid3)
Calculates the shortest distance between this segment and a solid. A segment reaching into the body is at distance zero.
public double DistanceTo(GeoSolid3 solid)
Parameters
solidGeoSolid3
Returns
DistanceTo(GeoPolyline3)
Gets the distance from this segment to a polyline, using the default tolerance.
public double DistanceTo(GeoPolyline3 polyline)
Parameters
polylineGeoPolyline3
Returns
DistanceTo(GeoPolyline3, Tolerance)
Gets the distance from this segment to a polyline, within a tolerance.
public double DistanceTo(GeoPolyline3 polyline, Tolerance tolerance)
Parameters
polylineGeoPolyline3toleranceTolerance