Curve.OffsetOnSurface Method (Surface, Double, Double)

CurveOffsetOnSurface Method (Surface, Double, Double)

Offset a curve on a surface. This curve must lie on the surface.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public Curve[] OffsetOnSurface(
	Surface surface,
	double distance,
	double fittingTolerance
)
Public Function OffsetOnSurface ( 
	surface As Surface,
	distance As Double,
	fittingTolerance As Double
) As Curve()

Parameters

surface
Type: Rhino.GeometrySurface
A surface on which to offset.
distance
Type: SystemDouble
A distance to offset (+)left, (-)right.
fittingTolerance
Type: SystemDouble
A fitting tolerance.

Return Value

Type: Curve
Offset curves on success, or null on failure.
Exceptions
ExceptionCondition
ArgumentNullExceptionIf surface is null.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.8
See Also