M_Rhino_Geometry_RevSurface_Create_4 - mcneel/rhinocommon-api-docs GitHub Wiki

RevSurface.Create Method (Polyline, Line)

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

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

Syntax

C#

public static RevSurface Create(
	Polyline revolutePolyline,
	Line axisOfRevolution
)

VB

Public Shared Function Create ( 
	revolutePolyline As Polyline,
	axisOfRevolution As Line
) As RevSurface

Parameters

 

revolutePolyline
Type: Rhino.Geometry.Polyline
A generatrix.
axisOfRevolution
Type: Rhino.Geometry.Line
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

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

RevSurface Class
Create Overload
Rhino.Geometry Namespace

⚠️ **GitHub.com Fallback** ⚠️