Interop.FromOnSurface Method

InteropFromOnSurface Method

Copies a Rhino_DotNet surface to a RhinoCommon Surface class.

Namespace:  Rhino.Runtime
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public static Surface FromOnSurface(
	Object source
)
Public Shared Function FromOnSurface ( 
	source As Object
) As Surface

Parameters

source
Type: SystemObject
Any of the following in the RMA.OpenNURBS namespace are acceptable. IOnSurface, OnSurface, IOnPlaneSurface, OnPlaneSurface, IOnClippingPlaneSurface, OnClippingPlaneSurface, IOnNurbsSurface, OnNurbsSurfac, IOnRevSurface, OnRevSurface, IOnSumSurface, OnSumSurface.

Return Value

Type: Surface
RhinoCommon object on success. This will be an independent copy.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.14
See Also