24 #ifndef GEOMALGOAPI_TORUS_H_
25 #define GEOMALGOAPI_TORUS_H_
27 #include <GeomAlgoAPI_MakeShape.h>
29 #include <GeomAPI_Ax2.h>
43 const double theRadius,
44 const double theRingRadius);
47 GEOMALGOAPI_EXPORT
bool check();
50 GEOMALGOAPI_EXPORT
void build();
53 std::shared_ptr<GeomAPI_Ax2> myAxis;
Interface to the root class of all topological shapes constructions.
Definition: GeomAlgoAPI_MakeShape.h:35
Allows to create Torus Primitives.
Definition: GeomAlgoAPI_Torus.h:36
GEOMALGOAPI_EXPORT void build()
Builds the torus.
Definition: GeomAlgoAPI_Torus.cpp:60
GEOMALGOAPI_EXPORT GeomAlgoAPI_Torus(std::shared_ptr< GeomAPI_Ax2 > theAxis, const double theRadius, const double theRingRadius)
Creates a torus.
Definition: GeomAlgoAPI_Torus.cpp:31
GEOMALGOAPI_EXPORT bool check()
Checks if data for the torus construction is OK.
Definition: GeomAlgoAPI_Torus.cpp:41