Table of Contents

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

distance double

How far the circumference moves: outward when positive.

result GeoCircle2

The 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

distance double

How far the circumference moves: outward when positive.

result GeoCircle2

The concentric circle, or this circle when the method returns false.

tolerance Tolerance

The tolerance.

Returns

bool

true if a circle is left; false if it shrinks to nothing.