M_Rhino_Geometry_Curve_OffsetOnSurface_1 - mcneel/rhinocommon-api-docs GitHub Wiki
Offset this curve on a brep face surface. This curve must lie on the surface.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
C#
public Curve[] OffsetOnSurface(
BrepFace face,
double distance,
double fittingTolerance
)
VB
Public Function OffsetOnSurface (
face As BrepFace,
distance As Double,
fittingTolerance As Double
) As Curve()
- face
- Type: Rhino.Geometry.BrepFace
The brep face on which to offset. - distance
- Type: System.Double
A distance to offset (+)left, (-)right. - fittingTolerance
- Type: System.Double
A fitting tolerance.
Type: Curve[]
Offset curves on success, or null on failure.
Exception | Condition |
---|---|
ArgumentNullException | If face is null. |
Supported in: 6.0.16224.21491, 5D58w