]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/GeomAPI/GeomAPI_Dir.cpp
Salome HOME
Issue #1649: Added options to create plane by two parallel planes;
[modules/shaper.git] / src / GeomAPI / GeomAPI_Dir.cpp
index 6f57e76815be685afaf7de7fdd399aaceead0348..d9963d46cdd1c7d84dc59fc2fbfd033cd64bba7f 100644 (file)
@@ -63,3 +63,7 @@ double GeomAPI_Dir::angle(const std::shared_ptr<GeomAPI_Dir>& theArg) const
   return MY_DIR->Angle(theArg->impl<gp_Dir>());
 }
 
+bool GeomAPI_Dir::isParallel(const std::shared_ptr<GeomAPI_Dir> theDir, const double theTolerance) const
+{
+  return MY_DIR->IsParallel(theDir->impl<gp_Dir>(), theTolerance) == Standard_True;
+}