]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/GeomAPI/GeomAPI_Dir2d.h
Salome HOME
Calculation of angle between two directions
[modules/shaper.git] / src / GeomAPI / GeomAPI_Dir2d.h
index ec558769392d7b1f91a370edaa9ea172a8526d1d..afea837238ee4077bef285278ae8c76ee91e2dab 100644 (file)
@@ -37,6 +37,9 @@ class GEOMAPI_EXPORT GeomAPI_Dir2d : public GeomAPI_Interface
   double dot(const std::shared_ptr<GeomAPI_Dir2d>& theArg) const;
   /// result is a cross product of two directions
   double cross(const std::shared_ptr<GeomAPI_Dir2d>& theArg) const;
+
+  /// calculates angle between two directions
+  double angle(const std::shared_ptr<GeomAPI_Dir2d>& theArg) const;
 };
 
 #endif