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
distancedoubleHow 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
Returns
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
distancedoublejoinOffsetJoin
Returns
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
distancedoublejoinOffsetJointoleranceTolerance
Returns
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
distancedoubleoptionsOffsetOptions
Returns
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
distancedoubleoptionsOffsetOptionstoleranceTolerance