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
Merge branch 'Dev_1.2.0' of newgeom:newgeom into Dev_1.2.0
[modules/shaper.git]
/
src
/
GeomAPI
/
GeomAPI_Dir.cpp
diff --git
a/src/GeomAPI/GeomAPI_Dir.cpp
b/src/GeomAPI/GeomAPI_Dir.cpp
index c81efd26e98b61f382454d744fe0171bf63d5e1d..5c42d68a0d9e6afc35664479468a23ca8701ee89 100644
(file)
--- a/
src/GeomAPI/GeomAPI_Dir.cpp
+++ b/
src/GeomAPI/GeomAPI_Dir.cpp
@@
-1,3
+1,5
@@
+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+
// File: GeomAPI_Dir.cpp
// Created: 23 Apr 2014
// Author: Mikhail PONIKAROV
// File: GeomAPI_Dir.cpp
// Created: 23 Apr 2014
// Author: Mikhail PONIKAROV
@@
-51,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()));
}
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>());
+}
+