QGIS API Documentation
3.14.0-Pi (9f7028fd23)
|
Go to the documentation of this file.
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)
double mX
X-component of the vector.
bool operator!=(const QgsFeatureIterator &fi1, const QgsFeatureIterator &fi2)
double getZ() const
Returns the z-component of the vector.
double mY
Y-component of the vector.
double getY() const
Returns the y-component of the vector.
double mZ
Z-component of the vector.
void setY(double y)
Sets the y-component of the vector.
void setZ(double z)
Sets the z-component of the vector.
Vector3D()=default
Default constructor.
double getX() const
Returns the x-component of the vector.