Table of Contents

Method SignedDistanceTo

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

SignedDistanceTo(GeoPoint3)

Calculates the distance from this solid to a point, negative for a point in the material.

public double SignedDistanceTo(GeoPoint3 point)

Parameters

point GeoPoint3

Returns

double

Remarks

The magnitude is the distance to the surface, whichever side of it the point is on, and the sign says which side: negative inside, nought on it, positive outside. DistanceTo(GeoPoint3) reads this solid as filled and so answers nothing at all for a point inside, which is the one place the two part company.

SignedDistanceTo(GeoPoint3, Tolerance)

Calculates the distance from this solid to a point, negative for a point in the material, within a tolerance.

public double SignedDistanceTo(GeoPoint3 point, Tolerance tolerance)

Parameters

point GeoPoint3
tolerance Tolerance

Returns

double