Sample used in vector fields.
More...
#include <qwt_samples.h>
|
| | QwtVectorFieldSample (double x=0.0, double y=0.0, double vx=0.0, double vy=0.0) |
| | Constructor with position and vector coordinates.
|
| |
| | QwtVectorFieldSample (const QPointF &pos, double vx=0.0, double vy=0.0) |
| | Constructor with QPointF position and vector coordinates.
|
| |
| QPointF | pos () const |
| | Return position as QPointF.
|
| |
| bool | isNull () const |
| | Check if the vector is null.
|
| |
|
|
double | x |
| | x coordinate of the position
|
| |
|
double | y |
| | y coordinate of the position
|
| |
|
double | vx |
| | x coordinate of the vector
|
| |
|
double | vy |
| | y coordinate of the vector
|
| |
Sample used in vector fields.
◆ QwtVectorFieldSample() [1/2]
| QwtVectorFieldSample::QwtVectorFieldSample |
( |
double |
posX = 0.0, |
|
|
double |
posY = 0.0, |
|
|
double |
vectorX = 0.0, |
|
|
double |
vectorY = 0.0 |
|
) |
| |
|
inline |
Constructor with position and vector coordinates.
◆ QwtVectorFieldSample() [2/2]
| QwtVectorFieldSample::QwtVectorFieldSample |
( |
const QPointF & |
pos, |
|
|
double |
vectorX = 0.0, |
|
|
double |
vectorY = 0.0 |
|
) |
| |
|
inline |
Constructor with QPointF position and vector coordinates.
◆ isNull()
| bool QwtVectorFieldSample::isNull |
( |
| ) |
const |
|
inline |
Check if the vector is null.
◆ pos()
| QPointF QwtVectorFieldSample::pos |
( |
| ) |
const |
|
inline |
Return position as QPointF.
The documentation for this class was generated from the following file: