[TD]fix handling of composite shapes

This commit is contained in:
Wanderer Fan
2022-02-05 18:18:25 -05:00
committed by WandererFan
parent 4e0498c48e
commit 484ff4fafb
2 changed files with 5 additions and 83 deletions

View File

@@ -23,6 +23,8 @@
#ifndef _ShapeExtractor_h_
#define _ShapeExtractor_h_
#include <Mod/TechDraw/TechDrawGlobal.h>
#include <TopoDS.hxx>
#include <TopoDS_Shape.hxx>
@@ -50,7 +52,6 @@ public:
static std::vector<TopoDS_Shape> getXShapes(const App::Link* xLink);
static std::vector<TopoDS_Shape> getShapesFromObject(const App::DocumentObject* docObj);
static TopoDS_Shape getShapesFused(const std::vector<App::DocumentObject*> links);
static std::vector<TopoDS_Shape> extractDrawableShapes(const TopoDS_Shape shapeIn);
static bool is2dObject(App::DocumentObject* obj);
static bool isEdgeType(App::DocumentObject* obj);
@@ -59,7 +60,6 @@ public:
static Base::Vector3d getLocation3dFromFeat(App::DocumentObject* obj);
static bool prefAdd2d(void);
protected:
private: