Method SignedDistanceTo
- Namespace
- GeometryHelper.Geometry
- Assembly
- GeometryHelper.dll
SignedDistanceTo(GeoPoint2)
Calculates the distance from this circle to a point, negative for a point within it.
public double SignedDistanceTo(GeoPoint2 point)
Parameters
pointGeoPoint2
Returns
Remarks
The magnitude is the distance to the outline, whichever side of it the point is on, and the sign says which side: negative inside, nought on it, positive outside. DistanceTo(GeoPoint2) reads this circle as filled and so answers nothing at all for a point inside, which is the one place the two part company.
SignedDistanceTo(GeoPoint2, Tolerance)
Calculates the distance from this circle to a point, negative for a point within it, within a tolerance.
public double SignedDistanceTo(GeoPoint2 point, Tolerance tolerance)