21 #include "qgis_analysis.h" 45 Vector3D(
double x,
double y,
double z );
58 double getLength()
const;
60 void setX(
double x );
62 void setY(
double y );
64 void setZ(
double z );
void setX(double x)
Sets the x-component of the vector.
bool operator==(const QgsFeatureIterator &fi1, const QgsFeatureIterator &fi2)
bool operator!=(const QgsFeatureIterator &fi1, const QgsFeatureIterator &fi2)
double getZ() const
Returns the z-component of the vector.
Class Vector3D represents a 3D-Vector, capable to store x-,y- and z-coordinates in double values...
void setZ(double z)
Sets the z-component of the vector.
double mX
X-component of the vector.
double mZ
Z-component of the vector.
double getY() const
Returns the y-component of the vector.
double mY
Y-component of the vector.
void setY(double y)
Sets the y-component of the vector.
double getX() const
Returns the x-component of the vector.
Vector3D()=default
Default constructor.