An array of NurbsCurve objects representing the curve in a curve list.
using namespace XSI; Application app; Model root = app.GetActiveSceneRoot(); X3DObject myArc; root.AddGeometry( L"Arc", L"NurbsCurve", L"", myArc ); NurbsCurveList curvelist( myArc.GetActivePrimitive().GetGeometry() ); CNurbsCurveRefArray curves(curvelist.GetCurves());
#include <xsi_nurbscurve.h>
Public Member Functions |
|
CNurbsCurveRefArray () | |
~CNurbsCurveRefArray () | |
CNurbsCurveRefArray (const CNurbsCurveRefArray &in_array) | |
CRef | GetItem (LONG in_index) const |
CRef | GetItem (const CString &in_name) const |
LONG | GetCount () const |
bool | IsValid () const |
CLongArray | GetIndexArray () const |
SubComponent | GetSubComponent () const |
CNurbsCurveRefArray | Navigate (siNavigateComponentType in_siNavigate) const |
Default constructor.
~CNurbsCurveRefArray | ( | ) |
Default destructor.
CNurbsCurveRefArray | ( | const CNurbsCurveRefArray & | in_array | ) |
Copy constructor.
in_array | constant CNurbsCurveRefArray reference object. |
CRef GetItem | ( | LONG | in_index | ) | const [virtual] |
Returns a NurbsCurve object at the specified index in the array.
in_index | The index of the NurbsCurve. |
Reimplemented from CRefArray.
Returns the NurbsCurve object in the array matching the specified name.
in_name | The name of the NurbsCurve. |
Reimplemented from CRefArray.
LONG GetCount | ( | ) | const [virtual] |
Returns the number of NurbsSurface objects in the array.
Reimplemented from CRefArray.
bool IsValid | ( | ) | const [virtual] |
Returns true if this array is a valid object or false otherwise.
Reimplemented from CRefArray.
CLongArray GetIndexArray | ( | ) | const |
Returns an array of indices in the geometry NurbsCurve array
SubComponent GetSubComponent | ( | ) | const |
Creates a SubComponent object from this NurbsCurve array,
CNurbsCurveRefArray Navigate | ( | siNavigateComponentType | in_siNavigate | ) | const |
Navigates the NurbsCurve objects of the underlying geometry as specifed by the navigation component type. The function returns an array of NurbsCurve objects corresponding to each Point object visited.
in_siNavigate | Type of direction for navigating the NurbsCurve objects. |