QGIS API Documentation
3.8.0-Zanzibar (11aff65)
|
Encapsulate geometry and attributes for new features, to be passed to createFeatures. More...
#include <qgsvectorlayerutils.h>
Public Member Functions | |
QgsFeatureData (const QgsGeometry &geometry=QgsGeometry(), const QgsAttributeMap &attributes=QgsAttributeMap()) | |
Constructs a new QgsFeatureData with given geometry and attributes. More... | |
QgsAttributeMap | attributes () const |
Returns attributes. More... | |
QgsGeometry | geometry () const |
Returns geometry. More... | |
Encapsulate geometry and attributes for new features, to be passed to createFeatures.
Definition at line 80 of file qgsvectorlayerutils.h.
QgsVectorLayerUtils::QgsFeatureData::QgsFeatureData | ( | const QgsGeometry & | geometry = QgsGeometry() , |
const QgsAttributeMap & | attributes = QgsAttributeMap() |
||
) |
Constructs a new QgsFeatureData with given geometry and attributes.
Definition at line 890 of file qgsvectorlayerutils.cpp.
QgsAttributeMap QgsVectorLayerUtils::QgsFeatureData::attributes | ( | ) | const |
Returns attributes.
Definition at line 900 of file qgsvectorlayerutils.cpp.
QgsGeometry QgsVectorLayerUtils::QgsFeatureData::geometry | ( | ) | const |
Returns geometry.
Definition at line 895 of file qgsvectorlayerutils.cpp.