Salome HOME
Merge branch 'Dev_1.2.0' of newgeom:newgeom into Dev_1.2.0
[modules/shaper.git] / src / GeomAPI / GeomAPI_Dir.cpp
index 858d8f877bca48b78b968e536a4eaa214a746e48..5c42d68a0d9e6afc35664479468a23ca8701ee89 100644 (file)
@@ -53,3 +53,8 @@ const std::shared_ptr<GeomAPI_XYZ> GeomAPI_Dir::cross(
   return std::shared_ptr<GeomAPI_XYZ>(new GeomAPI_XYZ(aResult.X(), aResult.Y(), aResult.Z()));
 }
 
+double GeomAPI_Dir::angle(const std::shared_ptr<GeomAPI_Dir>& theArg) const
+{
+  return MY_DIR->Angle(theArg->impl<gp_Dir>());
+}
+