Salome HOME
Fix for the issue #593: do not remove naming attribute, but use TNaming_Builder for...
[modules/shaper.git] / src / GeomAPI / GeomAPI_XY.h
index b4439b93d49d25bbf7d21e2ace21edee71924e66..0438b3c38332c015df9621d7d82dd14e8ae9e0ca 100644 (file)
@@ -1,3 +1,5 @@
+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+
 // File:        GeomAPI_XY.hxx
 // Created:     30 May 2014
 // Author:      Artem ZHIDKOV
@@ -31,6 +33,8 @@ class GEOMAPI_EXPORT GeomAPI_XY : public GeomAPI_Interface
 
   /// result is sum of coordinates of this and the given argument
   const std::shared_ptr<GeomAPI_XY> added(const std::shared_ptr<GeomAPI_XY>& theArg);
+  /// result is difference between coordinates of this and the given argument
+  const std::shared_ptr<GeomAPI_XY> decreased(const std::shared_ptr<GeomAPI_XY>& theArg);
   /// result is coordinates multiplied by the argument
   const std::shared_ptr<GeomAPI_XY> multiplied(const double theArg);