Expose method to Python to get property name of main geometry

fix inheritance of MeshFeaturePy
fix inheritance of PartFeaturePy
remove useless test() method
implement getPyObject in GeoFeature in case a sub-class doesn't implement it
This commit is contained in:
wmayer
2017-05-10 10:36:22 +02:00
parent 19b14520e9
commit 03bf3ac606
7 changed files with 41 additions and 23 deletions

View File

@@ -61,6 +61,11 @@ public:
* The default implementation returns null.
*/
virtual const PropertyComplexGeoData* getPropertyOfGeometry() const;
/**
* @brief getPyObject returns the Python binding object
* @return the Python binding object
*/
virtual PyObject* getPyObject(void);
};
} //namespace App