Sketcher: SketchObject - method to getCompleteGeometry as GeometryFacade

========================================================================

As GeometryFacade is provided with more sketcher specific functionality, the demand
for to get GeometryFacades instead of Part::Geometry object increases too. This
addition reflects this increase of demand.
This commit is contained in:
Abdullah Tahiri
2021-12-07 14:03:33 +01:00
parent 9a6e12b73d
commit 0331b8a0ab
2 changed files with 17 additions and 1 deletions

View File

@@ -194,6 +194,8 @@ public:
/// retrieves a vector containing both normal and external Geometry (including the sketch axes)
std::vector<Part::Geometry*> getCompleteGeometry(void) const;
std::vector<std::unique_ptr<const GeometryFacade>> getCompleteGeometryFacade(void) const;
/// converts a GeoId index into an index of the CompleteGeometry vector
int getCompleteGeometryIndex(int GeoId) const;