Sample used in vector fields. More...
#include <qwt_samples.h>
Public Member Functions | |
bool | isNull () const |
QPointF | pos () const |
QwtVectorFieldSample (const QPointF &pos, double vx=0.0, double vy=0.0) | |
Constructor. More... | |
QwtVectorFieldSample (double x=0.0, double y=0.0, double vx=0.0, double vy=0.0) | |
Constructor. More... | |
Public Attributes | |
double | vx |
x coordinate of the vector More... | |
double | vy |
y coordinate of the vector More... | |
double | x |
x coordinate of the position More... | |
double | y |
y coordinate of the position More... | |
Sample used in vector fields.
A vector field sample is a position and a vector - usually representing some direction and magnitude - attached to this position.
Definition at line 243 of file qwt_samples.h.
|
inline |
Constructor.
posX | x coordinate of the position |
posY | y coordinate of the position |
vectorX | x coordinate of the vector |
vectorY | y coordinate of the vector |
Definition at line 277 of file qwt_samples.h.
|
inline |
Constructor.
pos | Position |
vectorX | x coordinate of the vector |
vectorY | y coordinate of the vector |
Definition at line 293 of file qwt_samples.h.
|
inline |
Definition at line 309 of file qwt_samples.h.
|
inline |
Definition at line 303 of file qwt_samples.h.
double QwtVectorFieldSample::vx |
x coordinate of the vector
Definition at line 263 of file qwt_samples.h.
double QwtVectorFieldSample::vy |
y coordinate of the vector
Definition at line 266 of file qwt_samples.h.
double QwtVectorFieldSample::x |
x coordinate of the position
Definition at line 257 of file qwt_samples.h.
double QwtVectorFieldSample::y |
y coordinate of the position
Definition at line 260 of file qwt_samples.h.