Click or drag to resize

CurveOffset Method (Plane, Double, Double, CurveOffsetCornerStyle)

Offsets this curve. If you have a nice offset, then there will be one entry in the array. If the original curve had kinks or the offset curve had self intersections, you will get multiple segments in the offset_curves[] array.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
public Curve[] Offset(
	Plane plane,
	double distance,
	double tolerance,
	CurveOffsetCornerStyle cornerStyle


Type: Rhino.GeometryPlane
Offset solution plane.
Type: SystemDouble
The positive or negative distance to offset.
Type: SystemDouble
The offset or fitting tolerance.
Type: Rhino.GeometryCurveOffsetCornerStyle
Corner style for offset kinks.

Return Value

Type: Curve
Offset curves on success, null on failure.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.20
See Also