M_Rhino_Geometry_NurbsSurface_CreateRailRevolvedSurface - mcneel/rhinocommon-api-docs GitHub Wiki
Constructs a railed Surface-of-Revolution.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
C#
public static NurbsSurface CreateRailRevolvedSurface(
Curve profile,
Curve rail,
Line axis,
bool scaleHeight
)
VB
Public Shared Function CreateRailRevolvedSurface (
profile As Curve,
rail As Curve,
axis As Line,
scaleHeight As Boolean
) As NurbsSurface
- profile
- Type: Rhino.Geometry.Curve
Profile curve for revolution. - rail
- Type: Rhino.Geometry.Curve
Rail curve for revolution. - axis
- Type: Rhino.Geometry.Line
Axis of revolution. - scaleHeight
- Type: System.Boolean
If true, surface will be locally scaled.
Type: NurbsSurface
A NurbsSurface or null on failure.
Supported in: 6.0.16224.21491, 5D58w