Click or drag to resize

CurveOffsetTangentToSurface Method

Finds a curve by offsetting an existing curve tangent 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)
Since: 8.3
Syntax
public Curve OffsetTangentToSurface(
	Surface surface,
	double height
)

Parameters

surface
Type: Rhino.GeometrySurface
Surface from which tangents are calculated.
height
Type: SystemDouble
Offset distance.

Return Value

Type: Curve
Curve offset tangent to the surface, if successful, null otherwise. 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.
See Also