M_Rhino_Geometry_Curve_OffsetOnSurface_4 - mcneel/rhinocommon-api-docs GitHub Wiki
Offset a curve on a surface. This curve must lie on the surface.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
C#
public Curve[] OffsetOnSurface(
Surface surface,
double distance,
double fittingTolerance
)
VB
Public Function OffsetOnSurface (
surface As Surface,
distance As Double,
fittingTolerance As Double
) As Curve()
- surface
- Type: Rhino.Geometry.Surface
A surface 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 surface is null. |
Supported in: 6.0.16224.21491, 5D58w