extend interface to get actual property with geometric data, get center of gravity of a geometry

This commit is contained in:
wmayer
2017-03-05 18:05:11 +01:00
parent d6549e7dd7
commit 63943e4bb8
10 changed files with 68 additions and 0 deletions

View File

@@ -238,6 +238,11 @@ const char* Feature::getViewProviderName(void) const {
return "PartGui::ViewProviderPart";
}
const App::PropertyComplexGeoData* Feature::getPropertyOfGeometry() const
{
return &Shape;
}
// ---------------------------------------------------------
PROPERTY_SOURCE(Part::FilletBase, Part::Feature)