Method SignedDistanceTo
- Namespace
- GeometryHelper.Geometry
- Assembly
- GeometryHelper.dll
SignedDistanceTo(GeoCircle2)
Gets the signed distance from this point to the boundary of a circle, negative inside it, using the default tolerance.
public double SignedDistanceTo(GeoCircle2 circle)
Parameters
circleGeoCircle2
Returns
- double
The distance out to the circumference, measured exactly, negative when the point lies inside the circle and nought when the global point tolerance calls it on the circumference.
SignedDistanceTo(GeoCircle2, Tolerance)
Gets the signed distance from this point to the boundary of a circle, negative inside it, within a tolerance.
public double SignedDistanceTo(GeoCircle2 circle, Tolerance tolerance)
Parameters
circleGeoCircle2toleranceTolerance
Returns
- double
The distance out to the circumference, measured exactly, negative when the point lies inside the circle and nought when the tolerance given calls it on the circumference.
SignedDistanceTo(GeoRectangle2)
Gets the signed distance from this point to the boundary of a rectangle, negative inside it, using the default tolerance.
public double SignedDistanceTo(GeoRectangle2 rect)
Parameters
rectGeoRectangle2
Returns
- double
The distance out to the nearest side, measured exactly, negative when the point lies inside the rectangle and nought when the global point tolerance calls it on a side.
SignedDistanceTo(GeoRectangle2, Tolerance)
Gets the signed distance from this point to the boundary of a rectangle, negative inside it, within a tolerance.
public double SignedDistanceTo(GeoRectangle2 rect, Tolerance tolerance)
Parameters
rectGeoRectangle2toleranceTolerance
Returns
- double
The distance out to the nearest side, measured exactly, negative when the point lies inside the rectangle and nought when the tolerance given calls it on a side.
SignedDistanceTo(GeoPolygon2)
Gets the signed distance from this point to the boundary of a polygon, negative inside it, using the default tolerance.
public double SignedDistanceTo(GeoPolygon2 poly)
Parameters
polyGeoPolygon2
Returns
- double
The distance out to the nearest edge, measured exactly, negative when the point lies inside the polygon and nought when the global point tolerance calls it on its outline.
SignedDistanceTo(GeoPolygon2, Tolerance)
Gets the signed distance from this point to the boundary of a polygon, negative inside it, within a tolerance.
public double SignedDistanceTo(GeoPolygon2 poly, Tolerance tolerance)
Parameters
polyGeoPolygon2toleranceTolerance
Returns
- double
The distance out to the nearest edge, measured exactly, negative when the point lies inside the polygon and nought when the tolerance given calls it on its outline.
SignedDistanceTo(GeoPolygonArc2)
Gets the signed distance from this point to the boundary of a curved loop, negative inside it, using the default tolerance.
public double SignedDistanceTo(GeoPolygonArc2 loop)
Parameters
loopGeoPolygonArc2
Returns
- double
The distance out to the nearest edge, measured exactly on the arcs, negative when the point lies inside the loop and nought when the global point tolerance calls it on its outline.
SignedDistanceTo(GeoPolygonArc2, Tolerance)
Gets the signed distance from this point to the boundary of a curved loop, negative inside it, within a tolerance.
public double SignedDistanceTo(GeoPolygonArc2 loop, Tolerance tolerance)
Parameters
loopGeoPolygonArc2toleranceTolerance
Returns
- double
The distance out to the nearest edge, measured exactly on the arcs, negative when the point lies inside the loop and nought when the tolerance given calls it on its outline.
SignedDistanceTo(GeoFace2)
Gets the signed distance from this point to the boundary of a face, negative inside it, using the default tolerance.
public double SignedDistanceTo(GeoFace2 face)
Parameters
faceGeoFace2
Returns
- double
The distance out to the nearest edge, its outline or the rim of a hole, measured exactly, negative when the point lies on the material and nought when the global point tolerance calls it on an edge.
SignedDistanceTo(GeoFace2, Tolerance)
Gets the signed distance from this point to the boundary of a face, negative inside it, within a tolerance.
public double SignedDistanceTo(GeoFace2 face, Tolerance tolerance)
Parameters
Returns
- double
The distance out to the nearest edge, its outline or the rim of a hole, measured exactly, negative when the point lies on the material and nought when the tolerance given calls it on an edge.
SignedDistanceTo(GeoTriangle2)
Gets the distance from this point to a triangle, negative when the point lies within it.
public double SignedDistanceTo(GeoTriangle2 triangle)
Parameters
triangleGeoTriangle2
Returns
- double
The distance out to the nearest side, measured exactly, negative when the point lies inside the triangle and nought when the global point tolerance calls it on a side.
SignedDistanceTo(GeoTriangle2, Tolerance)
Gets the distance from this point to a triangle, negative when the point lies within it, within a tolerance.
public double SignedDistanceTo(GeoTriangle2 triangle, Tolerance tolerance)
Parameters
triangleGeoTriangle2toleranceTolerance
Returns
- double
The distance out to the nearest side, measured exactly, negative when the point lies inside the triangle and nought when the tolerance given calls it on a side.