Table of Contents

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

distance double

How 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

distance double
tolerance Tolerance

Returns

GeoPolygon3[]

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

distance double
join OffsetJoin

Returns

GeoPolygon3[]

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

distance double
join OffsetJoin
tolerance Tolerance

Returns

GeoPolygon3[]

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

distance double
options OffsetOptions

Returns

GeoPolygon3[]

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

distance double
options OffsetOptions
tolerance Tolerance

Returns

GeoPolygon3[]