mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-22 11:50:34 +05:00
Mantis issue 0021066: GetAngle function. Update documentation.
This commit is contained in:
parent
34e86f5a10
commit
354f127d1d
@ -169,7 +169,12 @@ distance is computed.
|
||||
\anchor angle_anchor
|
||||
<br><h2>Angle</h2>
|
||||
|
||||
\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 <b>vectors</b>, the angle is computed in
|
||||
accordance with their orientations, otherwise the minimum angle
|
||||
is computed.
|
||||
|
||||
\n <b>TUI Command:</b> <em>geompy.GetAngle(shape1, shape2),</em> where
|
||||
Shape1 and Shape2 are shapes between which the angle is computed.
|
||||
Another TUI command is <em>geompy.GetAngleRadians(shape1,shape2),</em>
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user