24 #ifndef GEOMALGOAPI_CONE_H_
25 #define GEOMALGOAPI_CONE_H_
27 #include <GeomAlgoAPI_MakeShape.h>
29 #include <GeomAPI_Ax2.h>
44 const double theBaseRadius,
45 const double theTopRadius,
46 const double theHeight);
49 GEOMALGOAPI_EXPORT
bool check();
52 GEOMALGOAPI_EXPORT
void build();
55 std::shared_ptr<GeomAPI_Ax2> myAxis;
Allows to create Cone Primitives.
Definition: GeomAlgoAPI_Cone.h:36
GEOMALGOAPI_EXPORT void build()
Builds the cone.
Definition: GeomAlgoAPI_Cone.cpp:68
GEOMALGOAPI_EXPORT GeomAlgoAPI_Cone(std::shared_ptr< GeomAPI_Ax2 > theAxis, const double theBaseRadius, const double theTopRadius, const double theHeight)
Creates a cone.
Definition: GeomAlgoAPI_Cone.cpp:31
GEOMALGOAPI_EXPORT bool check()
Checks if data for the cone construction is OK.
Definition: GeomAlgoAPI_Cone.cpp:43
Interface to the root class of all topological shapes constructions.
Definition: GeomAlgoAPI_MakeShape.h:35