- Sub-class GeoFeature (like PartFeature does) and implement the virtual functions transformPlacement, getPropertyOfGeometry and getPyObject
- Sub-class ComplexGeoData (like TopoShape does) to use in a PropertyComplexGeoData
- Sub-Class PropertyComplexGeoData (like PropertyPartShape does) to encapsulate the ComplexGeoData from step 2
- Finally, tie it all together -> my GeoFeature::getPropertyOfGeometry must return my PropertyComplexGeoData which must manage/hold my ComplexGeoData
Any help would be appreciated! My end goal is to essentially duplicate what the Part workbench does: provide a mechanism that takes OpenCasCade geometry information and presents it in such a way that FreeCAD (my way of Coin3D) can display it. As this is an educational venture, rather than simply copy what TopoShape has done I aim to understand the underlying code structure and design patterns.