18 #ifndef QGSVECTORFIELDSYMBOLLAYER_H
19 #define QGSVECTORFIELDSYMBOLLAYER_H
36 ClockwiseFromNorth = 0,
37 CounterclockwiseFromEast
52 QString
layerType()
const override {
return "VectorField"; }
64 void toSld( QDomDocument& doc, QDomElement &element,
QgsStringMap props )
const override;
71 void setXAttribute(
const QString& attribute ) { mXAttribute = attribute; }
73 void setYAttribute(
const QString& attribute ) { mYAttribute = attribute; }
76 double scale()
const {
return mScale; }
102 VectorFieldType mVectorFieldType;
103 AngleOrientation mAngleOrientation;
104 AngleUnits mAngleUnits;
113 void convertPolarToCartesian(
double length,
double angle,
double& x,
double& y )
const;
116 #endif // QGSVECTORFIELDSYMBOLLAYER_H