20 #ifndef GeomAlgoAPI_Prism_H_
21 #define GeomAlgoAPI_Prism_H_
23 #include "GeomAlgoAPI_MakeSweep.h"
25 #include <GeomAPI_Shape.h>
51 const std::shared_ptr<GeomAPI_Dir> theDirection,
52 const GeomShapePtr theToShape,
53 const double theToSize,
54 const GeomShapePtr theFromShape,
55 const double theFromSize);
59 void buildBySizes(
const GeomShapePtr theBaseShape,
60 const std::shared_ptr<GeomAPI_Dir> theDirection,
61 const double theToSize,
62 const double theFromSize,
66 void buildByPlanes(
const GeomShapePtr theBaseShape,
67 const std::shared_ptr<GeomAPI_Dir> theDirection,
68 const std::shared_ptr<GeomAPI_Pln> theToPlane,
69 const double theToSize,
70 const std::shared_ptr<GeomAPI_Pln> theFromPlane,
71 const double theFromSize,
75 void buildByFaces(
const GeomShapePtr theBaseShape,
76 const std::shared_ptr<GeomAPI_Dir> theDirection,
77 const GeomShapePtr theToShape,
78 const double theToSize,
79 const bool theToIsPlanar,
80 const GeomShapePtr theFromShape,
81 const double theFromSize,
82 const bool theFromIsPlanar,
3D direction defined by three normalized coordinates
Definition: GeomAPI_Dir.h:34
3D point defined by three coordinates
Definition: GeomAPI_Pln.h:37
ShapeType
Shape type enum.
Definition: GeomAPI_Shape.h:46
The abstract class MakeSweep is the root class of swept primitives.
Definition: GeomAlgoAPI_MakeSweep.h:41
Allows to create the prism based on a given face and bounding planes.
Definition: GeomAlgoAPI_Prism.h:38
GEOMALGOAPI_EXPORT GeomAlgoAPI_Prism(const GeomShapePtr theBaseShape, const std::shared_ptr< GeomAPI_Dir > theDirection, const GeomShapePtr theToShape, const double theToSize, const GeomShapePtr theFromShape, const double theFromSize)
Creates extrusion for the given shape along the normal for this shape.
Definition: GeomAlgoAPI_Prism.cpp:133