An array of NurbsSurface objects representing the surface in a nurbs surface mesh.
using namespace XSI; Application app; Model root = app.GetActiveSceneRoot(); X3DObject mySphere; root.AddGeometry( L"Sphere", L"NurbsSurface", L"", mySphere ); NurbsSurfaceMesh mySurfaceMesh(mySphere.GetActivePrimitive().GetGeometry()); CNurbsSurfaceRefArray surfaces = mySurfaceMesh.GetSurfaces();
#include <xsi_nurbssurface.h>
Public Member Functions | |
CNurbsSurfaceRefArray (const CNurbsSurfaceRefArray &in_array) | |
CRef | GetItem (LONG in_index) const |
CRef | GetItem (const CString &in_name) const |
LONG | GetCount () const |
bool | IsValid () const |
CNurbsSurfaceRefArray | ( | const CNurbsSurfaceRefArray & | in_array | ) |
Copy constructor.
in_array | constant CNurbsSurfaceRefArray reference object. |
CRef GetItem | ( | LONG | in_index | ) | const [virtual] |
Returns a NurbsSurface object at a specified index in the array.
in_index | The index of the NurbsSurface. |
Reimplemented from CFacetRefArray.
Returns the NurbsSurface object in the array matching the specified name.
in_name | The name of the NurbsSurface. |
Reimplemented from CFacetRefArray.
LONG GetCount | ( | ) | const [virtual] |
Returns the number of NurbsSurface objects in the array.
Reimplemented from CFacetRefArray.
bool IsValid | ( | ) | const [virtual] |
Returns true if this array is a valid object or false otherwise.
Reimplemented from CFacetRefArray.