Table of Contents

Method DistanceTo

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

DistanceTo(GeoPoint2)

Calculates the shortest distance from this face to a point.

public double DistanceTo(GeoPoint2 point)

Parameters

point GeoPoint2

Returns

double

Remarks

The face is read as filled, so a point on the material is nought away and a point in one of its holes is measured to the rim it sits in.

DistanceTo(GeoPoint2, Tolerance)

Calculates the shortest distance from this face to a point, within a tolerance.

public double DistanceTo(GeoPoint2 point, Tolerance tolerance)

Parameters

point GeoPoint2
tolerance Tolerance

Returns

double