RhinoCommon API
CurveOffsetOnSurface Method (BrepFace, Double, Double, Double) |
Offset a curve on a brep face surface. This curve must lie on the surface.
This overload allows to specify different offsets for different curve parameters.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll)

public Curve[] OffsetOnSurface( BrepFace face, double[] curveParameters, double[] offsetDistances, double fittingTolerance )
Public Function OffsetOnSurface ( face As BrepFace, curveParameters As Double(), offsetDistances As Double(), fittingTolerance As Double ) As Curve()
Parameters
- face
- Type: Rhino.GeometryBrepFace
The brep face on which to offset. - curveParameters
- Type: SystemDouble
Curve parameters corresponding to the offset distances. - offsetDistances
- Type: SystemDouble
distances to offset (+)left, (-)right. - fittingTolerance
- Type: SystemDouble
A fitting tolerance.
Return Value
Type: CurveOffset curves on success, or null on failure.

Exception | Condition |
---|---|
ArgumentNullException | If face, curveParameters or offsetDistances are null. |

Rhino for Mac
Supported in: 5.4Rhino for Windows
Supported in: 6.14