20 #ifndef GeomAlgoAPI_SketchBuilder_H_
21 #define GeomAlgoAPI_SketchBuilder_H_
23 #include <GeomAlgoAPI.h>
24 #include <GeomAlgoAPI_MakeShape.h>
49 const std::list<std::shared_ptr<GeomAPI_Shape> >& theEdges);
61 const std::shared_ptr<GeomAPI_Dir>& theDirX,
62 const std::shared_ptr<GeomAPI_Dir>& theNorm,
63 const std::shared_ptr<GeomAPI_Shape>& theWire);
66 GEOMALGOAPI_EXPORT
const std::list<std::shared_ptr<GeomAPI_Shape> >&
faces()
const
67 {
return myResultFaces; }
70 void build(
const std::shared_ptr<GeomAPI_Pnt>& theOrigin,
71 const std::shared_ptr<GeomAPI_Dir>& theDirX,
72 const std::shared_ptr<GeomAPI_Dir>& theNorm,
73 const std::list<std::shared_ptr<GeomAPI_Shape> >& theEdges);
76 std::list<std::shared_ptr<GeomAPI_Shape> > myResultFaces;
3D direction defined by three normalized coordinates
Definition: GeomAPI_Dir.h:34
3D point defined by three coordinates
Definition: GeomAPI_Pln.h:37
3D point defined by three coordinates
Definition: GeomAPI_Pnt.h:38
Interface to the topological shape object.
Definition: GeomAPI_Shape.h:43
Interface to the root class of all topological shapes constructions.
Definition: GeomAlgoAPI_MakeShape.h:35
virtual GEOMALGOAPI_EXPORT void build()
Execute the algorithm.
Definition: GeomAlgoAPI_MakeShape.h:76
Creates planar faces based on the list of Sketch features.
Definition: GeomAlgoAPI_SketchBuilder.h:39
GEOMALGOAPI_EXPORT GeomAlgoAPI_SketchBuilder(const std::shared_ptr< GeomAPI_Pln > &thePlane, const std::list< std::shared_ptr< GeomAPI_Shape > > &theEdges)
Creates list of faces based on the edges of the sketch.
Definition: GeomAlgoAPI_SketchBuilder.cpp:330
GEOMALGOAPI_EXPORT const std::list< std::shared_ptr< GeomAPI_Shape > > & faces() const
Return list of created faces.
Definition: GeomAlgoAPI_SketchBuilder.h:66