Table of Contents

Method Offset

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

Offset(double)

Gets the curve parallel to this polyline at a distance to its left, with sharp corners, using default tolerance. A negative distance goes to the right. See Offset(GeoPolyline2, double, OffsetOptions, Tolerance).

public GeoPolyline2[] Offset(double distance)

Parameters

distance double

How far to move it, to the left of its direction when positive.

Returns

GeoPolyline2[]

The pieces of the parallel curve, in order along the polyline; usually one.

Offset(double, Tolerance)

Gets the curve parallel to this polyline at a distance to its left, with sharp corners, within tolerance. A negative distance goes to the right.

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

Parameters

distance double
tolerance Tolerance

Returns

GeoPolyline2[]

Offset(double, OffsetJoin)

Gets the curve parallel to this polyline at a distance to its left, with the given corners, using default tolerance. A negative distance goes to the right.

public GeoPolyline2[] Offset(double distance, OffsetJoin join)

Parameters

distance double
join OffsetJoin

Returns

GeoPolyline2[]

Offset(double, OffsetJoin, Tolerance)

Gets the curve parallel to this polyline at a distance to its left, with the given corners, within tolerance. A negative distance goes to the right.

public GeoPolyline2[] Offset(double distance, OffsetJoin join, Tolerance tolerance)

Parameters

distance double
join OffsetJoin
tolerance Tolerance

Returns

GeoPolyline2[]

Offset(double, OffsetOptions)

Gets the curve parallel to this polyline at a distance to its left, as the options say, using default tolerance. A negative distance goes to the right.

public GeoPolyline2[] Offset(double distance, OffsetOptions options)

Parameters

distance double
options OffsetOptions

Returns

GeoPolyline2[]

Offset(double, OffsetOptions, Tolerance)

Gets the curve parallel to this polyline at a distance to its left, as the options say, within tolerance. A negative distance goes to the right.

public GeoPolyline2[] Offset(double distance, OffsetOptions options, Tolerance tolerance)

Parameters

distance double
options OffsetOptions
tolerance Tolerance

Returns

GeoPolyline2[]