20 #ifndef GEOMALGOAPI_CYLINDER_H_
21 #define GEOMALGOAPI_CYLINDER_H_
23 #include <GeomAlgoAPI_MakeShape.h>
25 #include <GeomAPI_Ax2.h>
26 #include <GeomAPI_Pnt.h>
40 const double theRadius,
41 const double theHeight);
49 const double theRadius,
50 const double theHeight,
51 const double theAngle);
54 GEOMALGOAPI_EXPORT
bool check();
57 GEOMALGOAPI_EXPORT
void build();
61 std::shared_ptr<GeomAPI_Pnt> myBasePoint;
62 std::shared_ptr<GeomAPI_Ax2> myAxis;
Allows to create Cylinder Primitives.
Definition: GeomAlgoAPI_Cylinder.h:33
GEOMALGOAPI_EXPORT GeomAlgoAPI_Cylinder(std::shared_ptr< GeomAPI_Ax2 > theAxis, const double theRadius, const double theHeight)
Creates a cylinder.
Definition: GeomAlgoAPI_Cylinder.cpp:30
GEOMALGOAPI_EXPORT void build()
Builds the cylinder.
Definition: GeomAlgoAPI_Cylinder.cpp:82
GEOMALGOAPI_EXPORT bool check()
Checks if data for the cylinder construction is OK.
Definition: GeomAlgoAPI_Cylinder.cpp:54
Interface to the root class of all topological shapes constructions.
Definition: GeomAlgoAPI_MakeShape.h:35