extend interface to get actual property with geometric data, get center of gravity of a geometry
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user