M_Rhino_Geometry_Surface_Offset - mcneel/rhinocommon-api-docs GitHub Wiki

Surface.Offset Method

Constructs a new surface which is offset from the current surface.

Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0

Syntax

C#

public Surface Offset(
	double distance,
	double tolerance
)

VB

Public Function Offset ( 
	distance As Double,
	tolerance As Double
) As Surface

Parameters

 

distance
Type: System.Double
Distance (along surface normal) to offset.
tolerance
Type: System.Double
Offset accuracy.

Return Value

Type: Surface
The offsetted surface or null on failure.

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Surface Class
Rhino.Geometry Namespace

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