20 #ifndef GeomAlgoAPI_Placement_H_
21 #define GeomAlgoAPI_Placement_H_
23 #include <GeomAlgoAPI.h>
24 #include <GeomAlgoAPI_MakeShape.h>
26 #include <GeomAPI_Shape.h>
27 #include <GeomAPI_Trsf.h>
47 const std::shared_ptr<GeomAPI_Shape> theDestSolid,
48 const std::shared_ptr<GeomAPI_Shape> theSourceShape,
49 const std::shared_ptr<GeomAPI_Shape> theDestShape,
50 const bool theIsReverse =
false,
51 const bool theIsCentering =
false,
52 const bool theSimpleTransform =
false);
55 GEOMALGOAPI_EXPORT std::shared_ptr<GeomAPI_Trsf>
transformation()
const;
59 void build(
const std::shared_ptr<GeomAPI_Shape>& theSourceSolid,
60 const std::shared_ptr<GeomAPI_Shape>& theDestSolid,
61 const std::shared_ptr<GeomAPI_Shape>& theSourceShape,
62 const std::shared_ptr<GeomAPI_Shape>& theDestShape,
63 const bool theIsReverse,
64 const bool theIsCentering,
65 const bool theSimpleTransform);
68 std::shared_ptr<GeomAPI_Trsf> myTrsf;
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 the copied object which sub-element is placed on the given element.
Definition: GeomAlgoAPI_Placement.h:33
GEOMALGOAPI_EXPORT GeomAlgoAPI_Placement(const std::shared_ptr< GeomAPI_Shape > theSourceSolid, const std::shared_ptr< GeomAPI_Shape > theDestSolid, const std::shared_ptr< GeomAPI_Shape > theSourceShape, const std::shared_ptr< GeomAPI_Shape > theDestShape, const bool theIsReverse=false, const bool theIsCentering=false, const bool theSimpleTransform=false)
Creates an object which is obtained from current object by transformation calculated as a movement of...
Definition: GeomAlgoAPI_Placement.cpp:43
GEOMALGOAPI_EXPORT std::shared_ptr< GeomAPI_Trsf > transformation() const
Returns the simple transformation.
Definition: GeomAlgoAPI_Placement.cpp:262