Salome HOME
Update copyrights
[modules/shaper.git] / src / GeomAPI / GeomAPI_Angle.h
index e0c2eec1898458307ba8978fb989ae84671c17c8..97ae590ae40b49853ff14451ea257c6949028755 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2018-20xx  CEA/DEN, EDF R&D
+// Copyright (C) 2018-2019  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
 //
 // You should have received a copy of the GNU Lesser General Public
 // License along with this library; if not, write to the Free Software
-// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/ or
-// email : webmaster.salome@opencascade.com<mailto:webmaster.salome@opencascade.com>
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 
 #ifndef GeomAPI_Angle_H_
@@ -38,6 +37,12 @@ public:
                 const std::shared_ptr<GeomAPI_Edge>& theEdge2,
                 const std::shared_ptr<GeomAPI_Pnt>&  thePoint);
 
+  /// Creation of an angle defined by 3 points (the second point is an apex of an angle).
+  GEOMAPI_EXPORT
+  GeomAPI_Angle(const std::shared_ptr<GeomAPI_Pnt>& thePoint1,
+                const std::shared_ptr<GeomAPI_Pnt>& thePoint2,
+                const std::shared_ptr<GeomAPI_Pnt>& thePoint3);
+
   /// Returns value of the angle in degrees
   GEOMAPI_EXPORT double angleDegree();
   /// Returns value of the angle in radians