Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix for the issue #593: do not remove naming attribute, but use TNaming_Builder for...
[modules/shaper.git]
/
src
/
GeomAPI
/
GeomAPI_Dir.cpp
diff --git
a/src/GeomAPI/GeomAPI_Dir.cpp
b/src/GeomAPI/GeomAPI_Dir.cpp
index 858d8f877bca48b78b968e536a4eaa214a746e48..5c42d68a0d9e6afc35664479468a23ca8701ee89 100644
(file)
--- a/
src/GeomAPI/GeomAPI_Dir.cpp
+++ b/
src/GeomAPI/GeomAPI_Dir.cpp
@@
-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>());
+}
+