24 #ifndef GEOMALGOAPI_SPHERE_H_
25 #define GEOMALGOAPI_SPHERE_H_
27 #include <GeomAlgoAPI_MakeShape.h>
29 #include <GeomAPI_Pnt.h>
42 const double theRadius);
51 const double thePhiMin,
const double thePhiMax,
52 const double theThetaMin,
const double theThetaMax);
55 GEOMALGOAPI_EXPORT
bool check();
58 GEOMALGOAPI_EXPORT
void build();
65 std::shared_ptr<GeomAPI_Pnt> myCenterPoint;
67 double myRMin, myRMax;
68 double myPhiMin, myPhiMax;
69 double myThetaMin, myThetaMax;
Interface to the root class of all topological shapes constructions.
Definition: GeomAlgoAPI_MakeShape.h:35
Allows to create Sphere Primitives.
Definition: GeomAlgoAPI_Sphere.h:36
GEOMALGOAPI_EXPORT bool check()
Checks if data for the sphere construction is OK.
Definition: GeomAlgoAPI_Sphere.cpp:59
GEOMALGOAPI_EXPORT GeomAlgoAPI_Sphere(std::shared_ptr< GeomAPI_Pnt > theCenterPoint, const double theRadius)
Creates a sphere.
Definition: GeomAlgoAPI_Sphere.cpp:36
GEOMALGOAPI_EXPORT void buildRootSphere()
Builds the sphere.
Definition: GeomAlgoAPI_Sphere.cpp:115
GEOMALGOAPI_EXPORT void build()
Builds the sphere.
Definition: GeomAlgoAPI_Sphere.cpp:80