Table of Contents

Method Offset

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

Offset(double)

Moves the outline of the loop sideways in its own plane.

public GeoPolygonArc3[] Offset(double distance)

Parameters

distance double

How far to move it: outward when positive, inward when negative.

Returns

GeoPolygonArc3[]

The loops that come of it, which may be none when the loop is eaten away, or more than one when it is pinched in two; a hole closed by a growing loop faces the other way, as Offset3 gives a polygon's holes.

Offset(double, Tolerance)

Moves the outline of the loop sideways in its own plane, within a tolerance.

public GeoPolygonArc3[] Offset(double distance, Tolerance tolerance)

Parameters

distance double
tolerance Tolerance

Returns

GeoPolygonArc3[]

Remarks

The loop is moved as it is, a side shorter than the global tolerance and all, and what comes of it is kept edge for edge, as the loop laid out in its plane keeps it: at a millionth, the square 10 by 10 with its corner (0, 0, 0) cut off by a side 0.00057 long, grown by 0.1, keeps that side, 0.0834 long now, where it was laid out within the global tolerance of a thousandth and the corner came out square.