Method TryOffset
- Namespace
- GeometryHelper.Geometry
- Assembly
- GeometryHelper.dll
TryOffset(double, out GeoCircle2)
Grows this circle by a distance, or shrinks it when the distance is negative, using default tolerance.
public bool TryOffset(double distance, out GeoCircle2 result)
Parameters
distancedoubleHow far the circumference moves: outward when positive.
resultGeoCircle2The concentric circle, or this circle when the method returns false.
Returns
- bool
true if a circle is left; false if it shrinks to nothing.
TryOffset(double, out GeoCircle2, Tolerance)
Grows this circle by a distance, or shrinks it when the distance is negative, within tolerance.
public bool TryOffset(double distance, out GeoCircle2 result, Tolerance tolerance)
Parameters
distancedoubleHow far the circumference moves: outward when positive.
resultGeoCircle2The concentric circle, or this circle when the method returns false.
toleranceToleranceThe tolerance.
Returns
- bool
true if a circle is left; false if it shrinks to nothing.