Salome HOME
Issue #2059 point in sketch is created not on selected line of external sketchPlane...
[modules/shaper.git] / src / GeomAPI / GeomAPI_Pnt2d.h
index 7d1716cb000551f4253128e41e2252540ee51e29..2ab01f2a35a7836cd2ab089ec3415a0c6298eec6 100644 (file)
@@ -1,3 +1,5 @@
+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+
 // File:        GeomAPI_Pnt2d.h
 // Created:     29 May 2014
 // Author:      Artem ZHIDKOV
@@ -17,36 +19,46 @@ class GeomAPI_Dir;
  * \brief 2D point defined by two coordinates
  */
 
-class GEOMAPI_EXPORT GeomAPI_Pnt2d : public GeomAPI_Interface
+class GeomAPI_Pnt2d : public GeomAPI_Interface
 {
  public:
   /// Creation of point by coordinates
+  GEOMAPI_EXPORT
   GeomAPI_Pnt2d(const double theX, const double theY);
   /// Creation of point by coordinates
+  GEOMAPI_EXPORT
   GeomAPI_Pnt2d(const std::shared_ptr<GeomAPI_XY>& theCoords);
 
   /// returns X coordinate
+  GEOMAPI_EXPORT
   double x() const;
   /// returns Y coordinate
+  GEOMAPI_EXPORT
   double y() const;
 
   /// sets X coordinate
+  GEOMAPI_EXPORT
   void setX(const double theX);
   /// sets Y coordinate
+  GEOMAPI_EXPORT
   void setY(const double theY);
 
   /// Returns the 3D point
+  GEOMAPI_EXPORT
   std::shared_ptr<GeomAPI_Pnt> to3D(const std::shared_ptr<GeomAPI_Pnt>& theOrigin,
                                       const std::shared_ptr<GeomAPI_Dir>& theDirX,
                                       const std::shared_ptr<GeomAPI_Dir>& theDirY);
 
   /// returns coordinates of the point
+  GEOMAPI_EXPORT
   const std::shared_ptr<GeomAPI_XY> xy();
 
   /// Distance between two points
+  GEOMAPI_EXPORT
   double distance(const std::shared_ptr<GeomAPI_Pnt2d>& theOther) const;
 
   /// Returns whether the distance between two points is less then precision confusion
+  GEOMAPI_EXPORT
   bool isEqual(const std::shared_ptr<GeomAPI_Pnt2d>& theOther) const;
 };