Table of Contents

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

point GeoPoint3

Returns

double

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

point GeoPoint3
tolerance Tolerance

Returns

double

DistanceTo(GeoPreparedSolid3)

Gets how far this body is from another, using the default tolerance.

public double DistanceTo(GeoPreparedSolid3 other)

Parameters

other GeoPreparedSolid3

Returns

double

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

other GeoPreparedSolid3
tolerance Tolerance

Returns

double

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

other GeoSolid3

Returns

double

DistanceTo(GeoSolid3, Tolerance)

Gets how far this body is from a body not prepared, within a tolerance.

public double DistanceTo(GeoSolid3 other, Tolerance tolerance)

Parameters

other GeoSolid3
tolerance Tolerance

Returns

double