M_Rhino_Geometry_Curve_OffsetOnSurface_4 - mcneel/rhinocommon-api-docs GitHub Wiki

Curve.OffsetOnSurface 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) Version: Rhino 6.0

Syntax

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()

Parameters

 

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.

Return Value

Type: Curve[]
Offset curves on success, or null on failure.

Exceptions

 

Exception Condition
ArgumentNullException If surface is null.

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Curve Class
OffsetOnSurface Overload
Rhino.Geometry Namespace

⚠️ **GitHub.com Fallback** ⚠️