Class: QgsVectorFieldWindBarbSettings¶
Represents a mesh renderer settings for vector datasets displayed with wind barbs.
Added in version 4.4.
List of all members, including inherited members
Class Hierarchy¶
Subclasses¶
Represents a mesh renderer settings for vector datasets displayed with wind barbs. |
Methods
Returns the multiplier for the magnitude to convert it to knots, according to the units set with |
|
Returns the units that the data are in |
|
Reads configuration from the given DOM element |
|
Sets a multiplier for the magnitude to convert it to knots |
|
Sets the units that the data are in |
|
Sets the shaft length (in millimeters) |
|
Sets the units for the shaft length. |
|
Returns the shaft length (in millimeters) |
|
Returns the units for the shaft length. |
|
Writes configuration to a new DOM element |
- class qgis.core.QgsVectorFieldWindBarbSettings[source]¶
Bases:
object- magnitudeMultiplier(self) float[source]¶
Returns the multiplier for the magnitude to convert it to knots, according to the units set with
setMagnitudeUnits()A custom multiplier can be set withsetMagnitudeMultiplier()for the case when units are set to OtherUnit- Return type:
float
- magnitudeUnits(self) Qgis.WindSpeedUnit[source]¶
Returns the units that the data are in
- Return type:
- readXml(self, elem: QDomElement)[source]¶
Reads configuration from the given DOM element
- Parameters:
elem (QDomElement)
- setMagnitudeMultiplier(self, magnitudeMultiplier: float)[source]¶
Sets a multiplier for the magnitude to convert it to knots
- Parameters:
magnitudeMultiplier (float)
- setMagnitudeUnits(self, units: Qgis.WindSpeedUnit)[source]¶
Sets the units that the data are in
- Parameters:
units (Qgis.WindSpeedUnit)
- setShaftLength(self, shaftLength: float)[source]¶
Sets the shaft length (in millimeters)
- Parameters:
shaftLength (float)
- setShaftLengthUnits(self, shaftLengthUnit: Qgis.RenderUnit)[source]¶
Sets the units for the shaft length.
See also
- Parameters:
shaftLengthUnit (Qgis.RenderUnit)
- shaftLengthUnits(self) Qgis.RenderUnit[source]¶
Returns the units for the shaft length.
See also
- Return type: