Table of Contents

Method DistanceTo

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

DistanceTo(GeoPoint3)

Calculates the Euclidean distance to another point.

public double DistanceTo(GeoPoint3 other)

Parameters

other GeoPoint3

Returns

double

DistanceTo(GeoLine3)

Calculates the shortest distance to a line segment.

public double DistanceTo(GeoLine3 line)

Parameters

line GeoLine3

Returns

double

DistanceTo(GeoRay3)

Calculates the shortest distance to a ray.

public double DistanceTo(GeoRay3 ray)

Parameters

ray GeoRay3

Returns

double

DistanceTo(GeoPlane3)

Calculates the perpendicular distance to a plane.

public double DistanceTo(GeoPlane3 plane)

Parameters

plane GeoPlane3

Returns

double

DistanceTo(GeoTriangle3)

Calculates the shortest distance to a triangle.

public double DistanceTo(GeoTriangle3 triangle)

Parameters

triangle GeoTriangle3

Returns

double

DistanceTo(GeoPolyline3)

Calculates the shortest distance to a polyline.

public double DistanceTo(GeoPolyline3 polyline)

Parameters

polyline GeoPolyline3

Returns

double

DistanceTo(GeoPolygon3)

Calculates the shortest distance to a polygon, read as a filled surface.

public double DistanceTo(GeoPolygon3 polygon)

Parameters

polygon GeoPolygon3

Returns

double

DistanceTo(GeoFace3)

Calculates the shortest distance to a face, holes respected.

public double DistanceTo(GeoFace3 face)

Parameters

face GeoFace3

Returns

double

DistanceTo(GeoCircle3)

Calculates the shortest distance to a circular disc, read as a filled surface.

public double DistanceTo(GeoCircle3 circle)

Parameters

circle GeoCircle3

Returns

double

DistanceTo(GeoObb3)

Calculates the shortest distance to an oriented box. A point inside is at distance zero.

public double DistanceTo(GeoObb3 box)

Parameters

box GeoObb3

Returns

double

DistanceTo(GeoAabb3)

Calculates the shortest distance to an axis-aligned box. A point inside is at distance zero.

public double DistanceTo(GeoAabb3 box)

Parameters

box GeoAabb3

Returns

double

DistanceTo(GeoSolid3)

Calculates the shortest distance to a solid. A point inside is at distance zero.

public double DistanceTo(GeoSolid3 solid)

Parameters

solid GeoSolid3

Returns

double