diff --git a/doc/salome/gui/GEOM/input/using_measurement_tools.doc b/doc/salome/gui/GEOM/input/using_measurement_tools.doc index 388762727..8eb29375b 100644 --- a/doc/salome/gui/GEOM/input/using_measurement_tools.doc +++ b/doc/salome/gui/GEOM/input/using_measurement_tools.doc @@ -169,7 +169,12 @@ distance is computed. \anchor angle_anchor

Angle

-\n Returns the angle between two lines or linear edges in degrees +\n Returns the angle between two lines or linear edges in degrees. + +\note If both arguments are vectors, the angle is computed in + accordance with their orientations, otherwise the minimum angle + is computed. + \n TUI Command: geompy.GetAngle(shape1, shape2), where Shape1 and Shape2 are shapes between which the angle is computed. Another TUI command is geompy.GetAngleRadians(shape1,shape2), diff --git a/src/GEOM_SWIG/geompyDC.py b/src/GEOM_SWIG/geompyDC.py index 4ea478a23..435d8fd59 100644 --- a/src/GEOM_SWIG/geompyDC.py +++ b/src/GEOM_SWIG/geompyDC.py @@ -3539,6 +3539,8 @@ class geompyDC(GEOM._objref_GEOM_Gen): ## Get angle between the given shapes in degrees. # @param theShape1,theShape2 Lines or linear edges to find angle between. + # @note If both arguments are vectors, the angle is computed in accordance + # with their orientations, otherwise the minimum angle is computed. # @return Value of the angle between the given shapes in degrees. # # @ref tui_measurement_tools_page "Example" @@ -3547,8 +3549,11 @@ class geompyDC(GEOM._objref_GEOM_Gen): anAngle = self.MeasuOp.GetAngle(theShape1, theShape2) RaiseIfFailed("GetAngle", self.MeasuOp) return anAngle + ## Get angle between the given shapes in radians. # @param theShape1,theShape2 Lines or linear edges to find angle between. + # @note If both arguments are vectors, the angle is computed in accordance + # with their orientations, otherwise the minimum angle is computed. # @return Value of the angle between the given shapes in radians. # # @ref tui_measurement_tools_page "Example"