Salome HOME
Issue #1015: The validate icon must be greyed and inactive instead of red and active
[modules/shaper.git] / src / GeomAPI / GeomAPI_Dir2d.cpp
index 4cb8149a3999d46e55c58e674aff32820fe3523e..1e5332d3147b09b4981f185dec6c3077ffb17b20 100644 (file)
@@ -36,6 +36,11 @@ const std::shared_ptr<GeomAPI_XY> GeomAPI_Dir2d::xy()
   return std::shared_ptr<GeomAPI_XY>(new GeomAPI_XY(MY_DIR->X(), MY_DIR->Y()));
 }
 
+void GeomAPI_Dir2d::reverse()
+{
+  MY_DIR->Reverse();
+}
+
 double GeomAPI_Dir2d::dot(const std::shared_ptr<GeomAPI_Dir2d>& theArg) const
 {
   return MY_DIR->Dot(theArg->impl<gp_Dir2d>());