X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomAlgoAPI%2FGeomAlgoAPI_Box.h;h=449d633f6dc96cb4461dafa2e0b6d6014ccaa81c;hb=87f348fe7ec3805441bd5524536736eeb2e87501;hp=c012131313003acfef337b706e5c313c2531dc5d;hpb=8438647a5fb5186e3b5893fd69092792edef9ca8;p=modules%2Fshaper.git diff --git a/src/GeomAlgoAPI/GeomAlgoAPI_Box.h b/src/GeomAlgoAPI/GeomAlgoAPI_Box.h index c01213131..449d633f6 100644 --- a/src/GeomAlgoAPI/GeomAlgoAPI_Box.h +++ b/src/GeomAlgoAPI/GeomAlgoAPI_Box.h @@ -4,8 +4,8 @@ // Created: 17 Mar 2016 // Author: Clarisse Genrault (CEA) -#ifndef GeomAlgoAPI_Box_H_ -#define GeomAlgoAPI_Box_H_ +#ifndef GEOMALGOAPI_BOX_H_ +#define GEOMALGOAPI_BOX_H_ #include #include @@ -22,27 +22,27 @@ class GeomAlgoAPI_Box : public GeomAlgoAPI_MakeShape BOX_DIM, ///< Box with dimensions BOX_POINTS, ///< Box with points }; - + GEOMALGOAPI_EXPORT GeomAlgoAPI_Box(); - + /// Creates a box using the dimensions. /// \param theDx The dimension on X /// \param theDy The dimension on Y /// \param theDz The dimension on Z GEOMALGOAPI_EXPORT GeomAlgoAPI_Box(const double theDx, const double theDy, const double theDz); - + /// Creates a box using the two points that defined a diagonal. /// \param theFirstPoint One extermity of the diagonal /// \param theSecondPoint The other extremity of the diagonal GEOMALGOAPI_EXPORT GeomAlgoAPI_Box(std::shared_ptr theFirstPoint, std::shared_ptr theSecondPoint); - + /// Checks if data for the box construction is OK. GEOMALGOAPI_EXPORT bool check(); - + /// Builds the box. GEOMALGOAPI_EXPORT void build(); - + /// Prepare the naming (redifined because it is specific for a box). GEOMALGOAPI_EXPORT void prepareNamingFaces(); @@ -51,7 +51,7 @@ class GeomAlgoAPI_Box : public GeomAlgoAPI_MakeShape void buildWithDimensions(); /// Builds the box with two points void buildWithPoints(); - + double myDx; /// Dimension on X to create a box. double myDy; /// Dimension on Y to create a box. double myDz; /// Dimension Z to create a box. @@ -61,4 +61,4 @@ class GeomAlgoAPI_Box : public GeomAlgoAPI_MakeShape }; -#endif +#endif // GEOMALGOAPI_BOX_H_