Method DistanceTo
- Namespace
- GeometryHelper.Spatial
- Assembly
- GeometryHelper.dll
DistanceTo(GeoPoint3)
Gets how far a point is from the material, using the default tolerance.
public double DistanceTo(GeoPoint3 point)
Parameters
pointGeoPoint3
Returns
DistanceTo(GeoPoint3, Tolerance)
Gets how far a point is from the material, within a tolerance; nought for a point it holds.
public double DistanceTo(GeoPoint3 point, Tolerance tolerance)
Parameters
Returns
DistanceTo(GeoPreparedSolid3)
Gets how far this body is from another, using the default tolerance.
public double DistanceTo(GeoPreparedSolid3 other)
Parameters
otherGeoPreparedSolid3
Returns
DistanceTo(GeoPreparedSolid3, Tolerance)
Gets how far this body is from another, within a tolerance; nought where they touch or overlap.
public double DistanceTo(GeoPreparedSolid3 other, Tolerance tolerance)
Parameters
otherGeoPreparedSolid3toleranceTolerance
Returns
Exceptions
- ArgumentNullException
Thrown when the other body is null.
DistanceTo(GeoSolid3)
Gets how far this body is from a body not prepared, using the default tolerance.
public double DistanceTo(GeoSolid3 other)
Parameters
otherGeoSolid3
Returns
DistanceTo(GeoSolid3, Tolerance)
Gets how far this body is from a body not prepared, within a tolerance.
public double DistanceTo(GeoSolid3 other, Tolerance tolerance)