20 #ifndef GeomAPI_Box_H_
21 #define GeomAPI_Box_H_
23 #include <GeomAPI_Interface.h>
37 GEOMAPI_EXPORT
GeomAPI_Box(
const std::shared_ptr<GeomAPI_Ax3>& theCorner,
38 const double theWidth,
39 const double theDepth,
40 const double theHeight);
43 GEOMAPI_EXPORT std::shared_ptr<GeomAPI_Ax3>
axes()
const;
46 GEOMAPI_EXPORT std::shared_ptr<GeomAPI_Pnt>
corner()
const;
49 GEOMAPI_EXPORT
double width()
const;
52 GEOMAPI_EXPORT
double depth()
const;
55 GEOMAPI_EXPORT
double height()
const;
62 typedef std::shared_ptr<GeomAPI_Box> GeomBoxPtr;
The class represents a coordinate plane which is 2d plane with X and Y directions and origin.
Definition: GeomAPI_Ax3.h:33
Box in 3D.
Definition: GeomAPI_Box.h:34
GEOMAPI_EXPORT double depth() const
Return depth of the box.
Definition: GeomAPI_Box.cpp:73
GEOMAPI_EXPORT std::shared_ptr< GeomAPI_Ax3 > axes() const
Return axes of the box.
Definition: GeomAPI_Box.cpp:55
GEOMAPI_EXPORT std::shared_ptr< GeomAPI_Pnt > corner() const
Return base corner of the box.
Definition: GeomAPI_Box.cpp:61
GEOMAPI_EXPORT double height() const
Return height of the box.
Definition: GeomAPI_Box.cpp:79
GEOMAPI_EXPORT GeomAPI_Box(const std::shared_ptr< GeomAPI_Ax3 > &theCorner, const double theWidth, const double theDepth, const double theHeight)
Creation of torus defined by center point, direction, major and minor radii.
Definition: GeomAPI_Box.cpp:46
GEOMAPI_EXPORT bool isAxesAligned() const
Return true is the box is aligned in main axes.
Definition: GeomAPI_Box.cpp:85
GEOMAPI_EXPORT double width() const
Return width of the box.
Definition: GeomAPI_Box.cpp:67
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