API Reference > OdDb Classes > OdDbSurface Class > OdDbSurface Methods > OdDbSurface::convertToNurbSurface Method
OdDbSurface::convertToNurbSurface Method
Syntax
C++
virtual OdResult convertToNurbSurface(OdDbNurbSurfacePtrArray& nurbSurfaceArray);
Parameters 
Description 
OdDbNurbSurfacePtrArray& nurbSurfaceArray 
[in] Array of generated nurb surfaces.
 

Returns eOk if the converting operation was successfully finished or an appropriate error code otherwise.

Converts the surface to nurb surfaces. 

 

Created nurb surfaces are not included in the database, so the caller must manage the memory occupied by nurb surface objects. 

This method is implemented only for Spatial modeler and returns eNotImplementedYet status for other modelers.

Copyright © 2002–2020. Open Design Alliance. All rights reserved.