QGIS API Documentation 3.41.0-Master (45a0abf3bec)
|
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. | |
QgsAttributeMap | attributes () const |
Returns attributes. | |
QgsGeometry | geometry () const |
Returns geometry. | |
Encapsulate geometry and attributes for new features, to be passed to createFeatures.
Definition at line 95 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 873 of file qgsvectorlayerutils.cpp.
QgsAttributeMap QgsVectorLayerUtils::QgsFeatureData::attributes | ( | ) | const |
Returns attributes.
Definition at line 883 of file qgsvectorlayerutils.cpp.
QgsGeometry QgsVectorLayerUtils::QgsFeatureData::geometry | ( | ) | const |
Returns geometry.
Definition at line 878 of file qgsvectorlayerutils.cpp.