Method Offset
- Namespace
- GeometryHelper.Geometry
- Assembly
- GeometryHelper.dll
Offset(double)
Grows this polygon within its own plane by a distance, or shrinks it when the distance is negative, with sharp corners, using the default tolerance. See Offset(GeoPolygon3, double, OffsetOptions, Tolerance).
public GeoPolygon3[] Offset(double distance)
Parameters
distancedoubleHow far the boundary moves: outward when positive, inward when negative.
Returns
- GeoPolygon3[]
The boundary loops of the offset region: none, one, or several; holes facing the other way.
Offset(double, Tolerance)
Grows this polygon within its own plane by a distance, or shrinks it when the distance is negative, with sharp corners, within a tolerance.
public GeoPolygon3[] Offset(double distance, Tolerance tolerance)
Parameters
Returns
Offset(double, OffsetJoin)
Grows this polygon within its own plane by a distance, or shrinks it when the distance is negative, with the given corners, using the default tolerance.
public GeoPolygon3[] Offset(double distance, OffsetJoin join)
Parameters
distancedoublejoinOffsetJoin
Returns
Offset(double, OffsetJoin, Tolerance)
Grows this polygon within its own plane by a distance, or shrinks it when the distance is negative, with the given corners, within a tolerance.
public GeoPolygon3[] Offset(double distance, OffsetJoin join, Tolerance tolerance)
Parameters
distancedoublejoinOffsetJointoleranceTolerance
Returns
Offset(double, OffsetOptions)
Grows this polygon within its own plane by a distance, or shrinks it when the distance is negative, as the options say, using the default tolerance.
public GeoPolygon3[] Offset(double distance, OffsetOptions options)
Parameters
distancedoubleoptionsOffsetOptions
Returns
Offset(double, OffsetOptions, Tolerance)
Grows this polygon within its own plane by a distance, or shrinks it when the distance is negative, as the options say, within a tolerance.
public GeoPolygon3[] Offset(double distance, OffsetOptions options, Tolerance tolerance)
Parameters
distancedoubleoptionsOffsetOptionstoleranceTolerance