Main Page | Class Hierarchy | Class List | File List | Class Members

PLib::NurbsSurfaceArray< T, N > Class Template Reference

An array of NurbsSurface. More...

#include <nurbsS.h>

List of all members.

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


Detailed Description

template<class T, int N>
class PLib::NurbsSurfaceArray< T, N >

An array of NurbsSurface.

This class represents an array of NurbsSurface.

Author:
Philippe Lavoie
Date:
4 Oct. 1996


Constructor & Destructor Documentation

template<class T, int N>
PLib::NurbsSurfaceArray< T, N >::NurbsSurfaceArray NurbsSurface< T, N > *  Sa,
int  s
 

Constructor from a pointer to an array of curves.

Author:
Philippe Lavoie
Date:
24 January 1997


Member Function Documentation

template<class T, int N>
void PLib::NurbsSurfaceArray< T, N >::init NurbsSurface< T, N > *  Sa,
int  size
 

Initialize the array of curves with a vector of nurbs curve.

Parameters:
ca a pointer to a vector of NURBS curve
size the size of the array
Author:
Philippe Lavoie
Date:
24 January 1997

template<class T, int N>
int PLib::NurbsSurfaceArray< T, N >::n  )  const [inline]
 

< a reference to the size of the array

template<class T, int N>
NurbsSurfaceArray< T, N > & PLib::NurbsSurfaceArray< T, N >::operator= const NurbsSurfaceArray< T, N > &  Sa  ) 
 

Copy one surface array to another.

Parameters:
S the array to copy
Returns:
a reference to itself
Author:
Philippe Lavoie
Date:
24 January 1997

template<class T, int N>
virtual NurbsSurface<T,N> PLib::NurbsSurfaceArray< T, N >::operator[] int  i  )  const [inline, virtual]
 

the ith surface

template<class T, int N>
virtual NurbsSurface<T,N>& PLib::NurbsSurfaceArray< T, N >::operator[] int  i  )  [inline, virtual]
 

the ith surface

template<class T, int N>
void PLib::NurbsSurfaceArray< T, N >::resize int  size  )  [virtual]
 

Resize the NurbsSurfaceArray.

Parameters:
size the new size
Author:
Philippe Lavoie
Date:
24 January 1997


Member Data Documentation

template<class T, int N>
int PLib::NurbsSurfaceArray< T, N >::rsize [protected]
 

the number of space allocated for the array

template<class T, int N>
NurbsSurface<T,N>** PLib::NurbsSurfaceArray< T, N >::S [protected]
 

An array of pointers to NURBS curves.

template<class T, int N>
int PLib::NurbsSurfaceArray< T, N >::sze [protected]
 

the number of NURBS curves in the array


The documentation for this class was generated from the following files:
Generated on Fri Dec 5 17:27:00 2003 for NURBS++ by doxygen 1.3.4