Click or drag to resize
InteropFromOnSurface Method
Copies a Rhino_DotNet surface to a RhinoCommon Surface class.

Namespace: Rhino.Runtime
Assembly: RhinoCommon (in RhinoCommon.dll) Version: 5.1.50000.0 (5.0.20693.0)
Syntax
public static Surface FromOnSurface(
	Object source
)

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.
See Also