#include <nurbsS.h>
Public Member Functions | |
int | n () const |
NurbsSurfaceArray (NurbsSurface< T, N > *Sa, int size) | |
virtual NurbsSurface< T, N > & | operator[] (int i) |
virtual NurbsSurface< T, N > | operator[] (int i) const |
virtual void | resize (int s) |
void | init (NurbsSurface< T, N > *Sa, int size) |
NurbsSurfaceArray< T, N > & | operator= (const NurbsSurfaceArray< T, N > &Sa) |
Protected Attributes | |
int | sze |
int | rsize |
NurbsSurface< T, N > ** | S |
This class represents an array of NurbsSurface.
PLib::NurbsSurfaceArray< T, N >::NurbsSurfaceArray | ( | NurbsSurface< T, N > * | Sa, | |
int | s | |||
) |
Constructor from a pointer to an array of curves.
int PLib::NurbsSurfaceArray< T, N >::n | ( | ) | const [inline] |
< a reference to the size of the array
virtual NurbsSurface<T,N>& PLib::NurbsSurfaceArray< T, N >::operator[] | ( | int | i | ) | [inline, virtual] |
the ith surface
virtual NurbsSurface<T,N> PLib::NurbsSurfaceArray< T, N >::operator[] | ( | int | i | ) | const [inline, virtual] |
the ith surface
void PLib::NurbsSurfaceArray< T, N >::resize | ( | int | size | ) | [virtual] |
void PLib::NurbsSurfaceArray< T, N >::init | ( | NurbsSurface< T, N > * | Sa, | |
int | size | |||
) |
Initialize the array of curves with a vector of nurbs curve.
ca | a pointer to a vector of NURBS curve | |
size | the size of the array |
NurbsSurfaceArray< T, N > & PLib::NurbsSurfaceArray< T, N >::operator= | ( | const NurbsSurfaceArray< T, N > & | Sa | ) |
Copy one surface array to another.
S | the array to copy |
int PLib::NurbsSurfaceArray< T, N >::sze [protected] |
the number of NURBS curves in the array
int PLib::NurbsSurfaceArray< T, N >::rsize [protected] |
the number of space allocated for the array
NurbsSurface<T,N>** PLib::NurbsSurfaceArray< T, N >::S [protected] |
An array of pointers to NURBS curves.