20 #ifndef GeomAPI_Sphere_H_
21 #define GeomAPI_Sphere_H_
23 #include <GeomAPI_Interface.h>
37 GEOMAPI_EXPORT
GeomAPI_Sphere(
const std::shared_ptr<GeomAPI_Pnt>& theCenter,
double theRadius);
40 GEOMAPI_EXPORT
const std::shared_ptr<GeomAPI_Pnt>
center()
const;
43 GEOMAPI_EXPORT
double radius()
const;
47 typedef std::shared_ptr<GeomAPI_Sphere> GeomSpherePtr;
General base class for all interfaces in this package.
Definition: GeomAPI_Interface.h:38
3D point defined by three coordinates
Definition: GeomAPI_Pnt.h:38
Spherical surface in 3D.
Definition: GeomAPI_Sphere.h:33
GEOMAPI_EXPORT GeomAPI_Sphere(const std::shared_ptr< GeomAPI_Pnt > &theCenter, double theRadius)
Construct sphere by center and radius.
Definition: GeomAPI_Sphere.cpp:33
GEOMAPI_EXPORT double radius() const
Return radius of the sphere.
Definition: GeomAPI_Sphere.cpp:46
GEOMAPI_EXPORT const std::shared_ptr< GeomAPI_Pnt > center() const
Return center of the sphere.
Definition: GeomAPI_Sphere.cpp:39