HyperspaceExplorer 0.7.1
|
A surface defined as a function . More...
#include <ComplexFunction.h>
Classes | |
struct | DefiningFunction |
ParametricFunction that defines this function. More... | |
Public Types | |
typedef std::complex< double > | function_type (std::complex< double >) |
A function from . | |
Public Member Functions | |
ComplexFunction () | |
Minimal constructor, sets the function name. | |
ComplexFunction (double _umin, double _umax, double _du, double _vmin, double _vmax, double _dv) | |
virtual | ~ComplexFunction () |
virtual void | SetParameters (double=0, double=0, double=0, double=0) |
Set up to 4 parameters. | |
Protected Attributes | |
virtual function_type | g = 0 |
The actual function from C to C. | |
Static Protected Attributes | |
static const QString | sup2 = QString(QChar(0x00B2)) |
"²" as QString | |
static const QString | sup3 = QString(QChar(0x00B3)) |
"³" as QString |
A surface defined as a function .
The surface in four dimensions is defined as
ComplexFunction::ComplexFunction | ( | double | _umin, |
double | _umax, | ||
double | _du, | ||
double | _vmin, | ||
double | _vmax, | ||
double | _dv | ||
) |
ComplexFunction c'tor given a definition set in (as parameter space)
_umin | minimal value in u |
_umax | maximal value in u |
_du | stepsize in u |
_vmin | minimal value in v |
_vmax | maximal value in v |
_dv | stepsize in v |
References Surface::_function.
ComplexFunction::~ComplexFunction | ( | ) | [virtual] |
ComplexFunction destructor
virtual void ComplexFunction::SetParameters | ( | double | = 0 , |
double | = 0 , |
||
double | = 0 , |
||
double | = 0 |
||
) | [inline, virtual] |
Set up to 4 parameters.
Defaults to do nothing, so implementations need not implement it by default.