X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomAPI%2FGeomAPI_PlanarEdges.h;h=a9cd54a31679cd0453b185caa936f52235f6b06d;hb=60e95a5502a6940c6c27ce5d561b3c684b0b0a4f;hp=1521d5addae1d5cc1004c43f12bf2381bde9c0e9;hpb=9e869ede4d8c56262bb20534543c2bf56cd6a91b;p=modules%2Fshaper.git diff --git a/src/GeomAPI/GeomAPI_PlanarEdges.h b/src/GeomAPI/GeomAPI_PlanarEdges.h index 1521d5add..a9cd54a31 100644 --- a/src/GeomAPI/GeomAPI_PlanarEdges.h +++ b/src/GeomAPI/GeomAPI_PlanarEdges.h @@ -1,3 +1,5 @@ +// Copyright (C) 2014-20xx CEA/DEN, EDF R&D + // File: GeomAPI_PlanarEdges.hxx // Created: 24 Jul 2014 // Author: Artem ZHIDKOV @@ -25,39 +27,33 @@ class GeomAPI_PlanarEdges : public GeomAPI_Shape /// Creation of empty (null) shape GEOMAPI_EXPORT GeomAPI_PlanarEdges(); - GEOMAPI_EXPORT virtual bool isVertex() const - { - return false; - } + GEOMAPI_EXPORT virtual bool isVertex() const; /// Returns whether the shape is an edge - GEOMAPI_EXPORT virtual bool isEdge() const - { - return false; - } + GEOMAPI_EXPORT virtual bool isEdge() const; GEOMAPI_EXPORT void addEdge(std::shared_ptr theEdge); GEOMAPI_EXPORT std::list > getEdges(); /// Returns True if the wire is defined in a plane - GEOMAPI_EXPORT bool hasPlane() const { return myOrigin && myNorm && myDirX && myDirY; } + GEOMAPI_EXPORT bool hasPlane() const; /// Set/Get origin point - GEOMAPI_EXPORT void setOrigin(const std::shared_ptr& theOrigin) - { myOrigin = theOrigin; } - GEOMAPI_EXPORT std::shared_ptr origin() const { return myOrigin; } + GEOMAPI_EXPORT void setOrigin(const std::shared_ptr& theOrigin); + + GEOMAPI_EXPORT std::shared_ptr origin() const; /// Set/Get X direction vector - GEOMAPI_EXPORT void setDirX(const std::shared_ptr& theDirX) { myDirX = theDirX; } - GEOMAPI_EXPORT std::shared_ptr dirX() const { return myDirX; } + GEOMAPI_EXPORT void setDirX(const std::shared_ptr& theDirX); + GEOMAPI_EXPORT std::shared_ptr dirX() const; /// Set/Get Y direction vector - GEOMAPI_EXPORT void setDirY(const std::shared_ptr& theDirY) { myDirY = theDirY; } - GEOMAPI_EXPORT std::shared_ptr dirY() const { return myDirY; } + GEOMAPI_EXPORT void setDirY(const std::shared_ptr& theDirY); + GEOMAPI_EXPORT std::shared_ptr dirY() const; /// Set/Get Normal direction vector - GEOMAPI_EXPORT void setNorm(const std::shared_ptr& theNorm) { myNorm = theNorm; } - GEOMAPI_EXPORT std::shared_ptr norm() const { return myNorm; } + GEOMAPI_EXPORT void setNorm(const std::shared_ptr& theNorm); + GEOMAPI_EXPORT std::shared_ptr norm() const; private: std::shared_ptr myOrigin;