QwtVectorFieldSample(3)
π¦ QwtVectorFieldSample(3) β the vector-field-sample bestie guide
From the Library Functions Manual, bestie: meet QwtVectorFieldSample(3). Itβs giving tiny-but-important sample class energy. π
β¨ NAME β¨
QwtVectorFieldSample β Sample used in vector fields.
π SYNOPSIS π
#include <qwt_samples.h>
π Public Member Functions π
QwtVectorFieldSample (double x=0.0, double y=0.0, double vx=0.0, double vy=0.0)β Constructor, periodt.QwtVectorFieldSample (const QPointF &pos, double vx=0.0, double vy=0.0)β Constructor, again β this one takes aQPointFposition.QPointF pos () constβ Grabs the position.bool isNull () constβ Checks if the vector part is null.
π Public Attributes π
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.
πΈ Detailed Description πΈ
This is the sample type used in vector fields, no cap.
A vector field sample is basically a position plus a vector β usually representing some direction and magnitude β attached to that position. Itβs literally a little βhereβs whereβ plus βhereβs the pushβ combo. π¦
π See also π
QwtVectorFieldData
π Definition at line 243 of file qwt_samples.h.
π οΈ Constructor & Destructor Documentation π οΈ
π Constructor #1
QwtVectorFieldSample::QwtVectorFieldSample (double posX = 0.0, double posY = 0.0, double vectorX = 0.0, double vectorY = 0.0) [inline]
Constructor. Bestie, here are the parameters:
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.
π§ Constructor #2
QwtVectorFieldSample::QwtVectorFieldSample (const QPointF & pos, double vectorX = 0.0, double vectorY = 0.0) [inline]
Constructor. This oneβs parameters are:
posβ Position.vectorXβ x coordinate of the vector.vectorYβ y coordinate of the vector.
π Definition at line 293 of file qwt_samples.h.
π₯ Member Function Documentation π₯
β bool QwtVectorFieldSample::isNull () const [inline]
Returns:
true, ifvxandvyare0.
π Definition at line 309 of file qwt_samples.h.
π QPointF QwtVectorFieldSample::pos () const [inline]
Returns:
x/ycoordinates asQPointF.
π Definition at line 303 of file qwt_samples.h.
π Member Data Documentation π
π« 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.
π Author π
Generated automatically by Doxygen for Qwt User's Guide from the source code. Iconic auto-gen behavior, honestly. β¨
π Cute sign-off: source/version energy is Qwt User's Guide, generated by Doxygen from the source code, and the footer date slot isnβt doing a little cameo here, bestie. Bye! π
π¦ where this page comes from
- alpine 3.24: qwt-doc 6.3.0-r0 Β· custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms