Method SignedDistanceTo
- Namespace
- GeometryHelper.Geometry
- Assembly
- GeometryHelper.dll
SignedDistanceTo(GeoPoint2)
Gets the distance from this triangle to a point, negative for a point within it, using the default tolerance.
public double SignedDistanceTo(GeoPoint2 point)
Parameters
pointGeoPoint2
Returns
Remarks
The magnitude is the distance to the edges, whichever side of them the point is on, and the sign says which side: negative inside, nought on them, positive outside.
SignedDistanceTo(GeoPoint2, Tolerance)
Gets the distance from this triangle to a point, negative for a point within it, within a tolerance.
public double SignedDistanceTo(GeoPoint2 point, Tolerance tolerance)