Click or drag to resize

RevSurfaceCreate Method (Polyline, Line)

Constructs a new surface of revolution from a generatrix polyline and an axis.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public static RevSurface Create(
	Polyline revolutePolyline,
	Line axisOfRevolution
)

Parameters

revolutePolyline
Type: Rhino.GeometryPolyline
A generatrix.
axisOfRevolution
Type: Rhino.GeometryLine
An axis.

Return Value

Type: RevSurface
A new surface of revolution, or null if any of the inputs is invalid or on error.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.6
See Also