NurbsSurface.CreateRailRevolvedSurface Method

NurbsSurfaceCreateRailRevolvedSurface Method

Constructs a railed Surface-of-Revolution.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public static NurbsSurface CreateRailRevolvedSurface(
	Curve profile,
	Curve rail,
	Line axis,
	bool scaleHeight
)
Public Shared Function CreateRailRevolvedSurface ( 
	profile As Curve,
	rail As Curve,
	axis As Line,
	scaleHeight As Boolean
) As NurbsSurface

Parameters

profile
Type: Rhino.GeometryCurve
Profile curve for revolution.
rail
Type: Rhino.GeometryCurve
Rail curve for revolution.
axis
Type: Rhino.GeometryLine
Axis of revolution.
scaleHeight
Type: SystemBoolean
If true, surface will be locally scaled.

Return Value

Type: NurbsSurface
A NurbsSurface or null on failure.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.8
See Also