Skip to content

M_Rhino_Geometry_Curve_OffsetNormalToSurface

Will Pearson edited this page Aug 12, 2016 · 2 revisions

Curve.OffsetNormalToSurface Method

Finds a curve by offsetting an existing curve normal to a surface. The caller is responsible for ensuring that the curve lies on the input surface.

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

Syntax

C#

public Curve OffsetNormalToSurface(
	Surface surface,
	double height
)

VB

Public Function OffsetNormalToSurface ( 
	surface As Surface,
	height As Double
) As Curve

Parameters

 

surface
Type: Rhino.Geometry.Surface
Surface from which normals are calculated.
height
Type: System.Double
offset distance (distance from surface to result curve)

Return Value

Type: Curve
Offset curve at distance height from the surface. The offset curve is interpolated through a small number of points so if the surface is irregular or complicated, the result will not be a very accurate offset.

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Curve Class
Rhino.Geometry Namespace

Clone this wiki locally