Table of Contents

Method DistanceTo

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

DistanceTo(GeoPoint3)

Calculates the shortest distance from this ray to a point.

public double DistanceTo(GeoPoint3 point)

Parameters

point GeoPoint3

Returns

double

DistanceTo(GeoLine3)

Calculates the shortest distance between this ray and a line segment.

public double DistanceTo(GeoLine3 line)

Parameters

line GeoLine3

Returns

double

DistanceTo(GeoSolid3)

Gets the distance from this ray 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 ray 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 ray to a triangle, using the default tolerance.

public double DistanceTo(GeoTriangle3 triangle)

Parameters

triangle GeoTriangle3

Returns

double

DistanceTo(GeoTriangle3, Tolerance)

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

public double DistanceTo(GeoTriangle3 triangle, Tolerance tolerance)

Parameters

triangle GeoTriangle3
tolerance Tolerance

Returns

double