#include <nurbs.h>
Public Methods | |
int | n () const |
NurbsCurveArray (NurbsCurve< T, N > *Ca, int size) | |
NurbsCurveArray () | |
virtual | ~NurbsCurveArray () |
virtual NurbsCurve< T, N > & | operator[] (int i) |
virtual NurbsCurve< T, N > | operator[] (int i) const |
virtual void | resize (int s) |
void | init (NurbsCurve< T, N > *Ca, int size) |
int | read (const char *filename) |
int | write (const char *filename) |
int | writePS (const char *, int cp=0, T magFact=T(-1), T dash=T(5), bool bOpen=true) const |
int | writePSp (const char *, const Vector< Point_nD< T, N > > &, const Vector< Point_nD< T, N > > &, int cp=0, T magFact=0.0, T dash=5.0, bool bOpen=true) const |
Protected Methods | |
NurbsCurve< T, N > & | curve (int i) |
NurbsCurve< T, N > | curve (int i) const |
Protected Attributes | |
int | sze |
int | rsize |
NurbsCurve< T, N > ** | C |
This class represents an array of NurbsCurve.
Definition at line 337 of file nurbs.h.
|
Constructor from a pointer to an array of curves.
Definition at line 45 of file nurbsArray.cpp. References resize. |
|
Initialize the array of curves with a vector of nurbs curve.
Definition at line 62 of file nurbsArray.cpp. References resize. |
|
Reads a NurbsCurveArray from a file.
Definition at line 108 of file nurbsArray.cpp. References resize. |
|
Resize the NurbsCurveArray.
Definition at line 77 of file nurbsArray.cpp. Referenced by init, NurbsCurveArray, and read. |
|
Writes a NurbsCurveArray from a file.
Definition at line 166 of file nurbsArray.cpp. |
|
Writes a post-script file representing an array of curves.
Definition at line 344 of file nurbsArray.cpp. |
|
Writes a post-script file representing the array of curves.
Writes the array of curves in the postscript format to a file, it also draws the points defined in $points$ with their associated vectors if $vector$ is used.
Definition at line 521 of file nurbsArray.cpp. |