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 output array.
Namespace:
Rhino.Geometry
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 5.0
Syntax public Curve[] Offset(
Plane plane,
double distance,
double tolerance,
CurveOffsetCornerStyle cornerStyle
)
Public Function Offset (
plane As Plane,
distance As Double,
tolerance As Double,
cornerStyle As CurveOffsetCornerStyle
) As Curve()
Parameters
- plane
- Type: Rhino.GeometryPlane
Offset solution 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:
CurveOffset curves on success, null on failure.
See Also