Curve.Offset Method (Point3d, Vector3d, Double, Double, CurveOffsetCornerStyle)

CurveOffset Method (Point3d, Vector3d, 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)
Syntax
public Curve[] Offset(
	Point3d directionPoint,
	Vector3d normal,
	double distance,
	double tolerance,
	CurveOffsetCornerStyle cornerStyle
)
Public Function Offset ( 
	directionPoint As Point3d,
	normal As Vector3d,
	distance As Double,
	tolerance As Double,
	cornerStyle As CurveOffsetCornerStyle
) As Curve()

Parameters

directionPoint
Type: Rhino.GeometryPoint3d
A point that indicates the direction of the offset.
normal
Type: Rhino.GeometryVector3d
The normal to the offset plane.
distance
Type: SystemDouble
The positive or negative distance to offset.
tolerance
Type: SystemDouble
The offset or fitting tolerance.
cornerStyle
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.14
See Also