Table of Contents

Method DistanceTo

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

DistanceTo(GeoPoint3)

Calculates the shortest distance from this triangle to a point.

public double DistanceTo(GeoPoint3 point)

Parameters

point GeoPoint3

Returns

double

DistanceTo(GeoLine3)

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

public double DistanceTo(GeoLine3 line)

Parameters

line GeoLine3

Returns

double

DistanceTo(GeoLine3, Tolerance)

Gets the distance from this triangle to a segment, within a tolerance.

public double DistanceTo(GeoLine3 line, Tolerance tolerance)

Parameters

line GeoLine3
tolerance Tolerance

Returns

double

DistanceTo(GeoRay3)

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

public double DistanceTo(GeoRay3 ray)

Parameters

ray GeoRay3

Returns

double

DistanceTo(GeoRay3, Tolerance)

Gets the distance from this triangle to a ray, within a tolerance.

public double DistanceTo(GeoRay3 ray, Tolerance tolerance)

Parameters

ray GeoRay3
tolerance Tolerance

Returns

double

DistanceTo(GeoPolyline3)

Gets the distance from this triangle 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 triangle 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 triangle 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 triangle to a solid, within a tolerance.

public double DistanceTo(GeoSolid3 solid, Tolerance tolerance)

Parameters

solid GeoSolid3
tolerance Tolerance

Returns

double

DistanceTo(GeoTriangle3)

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

public double DistanceTo(GeoTriangle3 other)

Parameters

other GeoTriangle3

Returns

double

DistanceTo(GeoTriangle3, Tolerance)

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

public double DistanceTo(GeoTriangle3 other, Tolerance tolerance)

Parameters

other GeoTriangle3
tolerance Tolerance

Returns

double