Table of Contents

Method DistanceTo

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

DistanceTo(GeoPoint3)

Calculates the shortest distance from this box to a point. A point inside the box is at distance zero.

public double DistanceTo(GeoPoint3 point)

Parameters

point GeoPoint3

Returns

double

DistanceTo(GeoPolyline3)

Gets the distance from this box to a polyline, using the default tolerance.

public double DistanceTo(GeoPolyline3 polyline)

Parameters

polyline GeoPolyline3

Returns

double

DistanceTo(GeoPolyline3, Tolerance)

Gets the distance from this box to a polyline, within a tolerance.

public double DistanceTo(GeoPolyline3 polyline, Tolerance tolerance)

Parameters

polyline GeoPolyline3
tolerance Tolerance

Returns

double

DistanceTo(GeoSolid3)

Gets the distance from this box to a solid, using the default tolerance.

public double DistanceTo(GeoSolid3 solid)

Parameters

solid GeoSolid3

Returns

double

DistanceTo(GeoSolid3, Tolerance)

Gets the distance from this box to a solid, within a tolerance.

public double DistanceTo(GeoSolid3 solid, Tolerance tolerance)

Parameters

solid GeoSolid3
tolerance Tolerance

Returns

double

DistanceTo(GeoObb3)

Gets the distance from this box to a box, using the default tolerance.

public double DistanceTo(GeoObb3 other)

Parameters

other GeoObb3

Returns

double

DistanceTo(GeoObb3, Tolerance)

Gets the distance from this box to a box, within a tolerance.

public double DistanceTo(GeoObb3 other, Tolerance tolerance)

Parameters

other GeoObb3
tolerance Tolerance

Returns

double