#include <param.hxx>


Public Member Functions | |
| void | debug (FILE *fp=debug_file_ptr) const |
| Outputs details of a parameter vector to the debug file or to the specified file. | |
| logical | is_zero (const double tol=SPAresabs) const |
Returns TRUE if a radius function is zero everywhere, to within a given tolerance; otherwise, it returns FALSE. | |
| double | len () const |
Returns the length of the SPApar_vec. | |
| double | len_sq () const |
| Returns (du * du + dv * dv). | |
| SPApar_vec const & | operator*= (double d) |
| Multiplies a parameter by a scalar. | |
| SPApar_vec const & | operator+= (SPApar_vec const &v) |
| Adds two parameter vectors. | |
| SPApar_vec const & | operator-= (SPApar_vec const &v) |
| Performs a binary minus operation. | |
| SPApar_vec const & | operator/= (double d) |
| Divides a parameter vector by a scalar value. | |
| SPApar_dir (SPApar_vec const &v) | |
Constructs and normalizes a SPApar_dir from a SPApar_vec. | |
| SPApar_dir (double uv[2]) | |
Constructs and normalizes a SPApar_dir from an array of two doubles. | |
| SPApar_dir (double uval, double vval) | |
Constructs and normalizes a SPApar_dir from two doubles. | |
| SPApar_dir () | |
Constructs an un-initialized SPApar_dir. | |
Public Attributes | |
| SPAparameter | du |
| The vector in the u-direction. | |
| SPAparameter | dv |
| The vector in the v-direction. | |
Friends | |
| double | operator% (SPApar_dir const &u, SPApar_pos const &p) |
| Returns the scalar product between a parameter direction and parameter position. | |
| double | operator% (SPApar_pos const &p, SPApar_dir const &u) |
| Returns the scalar product between a parameter position and parameter direction. | |
| SPApar_dir | operator- (SPApar_dir const &) |
| Performs a unary minus operation. | |
| SPApar_dir::SPApar_dir | ( | ) | [inline] |
Constructs an un-initialized SPApar_dir.
| SPApar_dir::SPApar_dir | ( | double | uval, | |
| double | vval | |||
| ) |
| SPApar_dir::SPApar_dir | ( | double | uv[2] | ) |
Constructs and normalizes a SPApar_dir from an array of two doubles.
| uv | array of 2 vectors. |
| SPApar_dir::SPApar_dir | ( | SPApar_vec const & | v | ) |
| void SPApar_vec::debug | ( | FILE * | fp = debug_file_ptr |
) | const [inherited] |
Outputs details of a parameter vector to the debug file or to the specified file.
| fp | file name. |
| logical SPApar_vec::is_zero | ( | const double | tol = SPAresabs |
) | const [inherited] |
Returns TRUE if a radius function is zero everywhere, to within a given tolerance; otherwise, it returns FALSE.
| tol | zero tolerance. |
| double SPApar_vec::len | ( | ) | const [inherited] |
Returns the length of the SPApar_vec.
| double SPApar_vec::len_sq | ( | ) | const [inherited] |
Returns (du * du + dv * dv).
| SPApar_vec const& SPApar_vec::operator*= | ( | double | d | ) | [inherited] |
Multiplies a parameter by a scalar.
| d | double. |
| SPApar_vec const& SPApar_vec::operator+= | ( | SPApar_vec const & | v | ) | [inherited] |
Adds two parameter vectors.
| v | parameter vector. |
| SPApar_vec const& SPApar_vec::operator-= | ( | SPApar_vec const & | v | ) | [inherited] |
Performs a binary minus operation.
| v | parameter vector. |
| SPApar_vec const& SPApar_vec::operator/= | ( | double | d | ) | [inherited] |
Divides a parameter vector by a scalar value.
| d | scalar value. |
| double operator% | ( | SPApar_dir const & | u, | |
| SPApar_pos const & | p | |||
| ) | [friend] |
Returns the scalar product between a parameter direction and parameter position.
| u | parameter direction. | |
| p | parameter position. |
| double operator% | ( | SPApar_pos const & | p, | |
| SPApar_dir const & | u | |||
| ) | [friend] |
Returns the scalar product between a parameter position and parameter direction.
| p | parameter position. | |
| u | parameter direction. |
| SPApar_dir operator- | ( | SPApar_dir const & | ) | [friend] |
Performs a unary minus operation.
| u | parameter direction. |
SPAparameter SPApar_vec::du [inherited] |
The vector in the u-direction.
SPAparameter SPApar_vec::dv [inherited] |
The vector in the v-direction.