mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-11-12 00:29:18 +05:00
26 lines
791 B
Plaintext
26 lines
791 B
Plaintext
|
/*!
|
||
|
|
||
|
\page bounding_box_page Bounding Box
|
||
|
|
||
|
Returns the dimensions of the bounding box for the selected
|
||
|
geometrical object.
|
||
|
|
||
|
\note To take into account any possible shape distortion
|
||
|
that affects the resulting bounding box, the algorithm enlarges
|
||
|
the bounding box to the maximum deflection value of
|
||
|
faces (by iterating through all faces of a shape).
|
||
|
This functionallity is implemented in such a way to have
|
||
|
a satisfactory performance.
|
||
|
|
||
|
<b>Result:</b> Displays the bounding box dimensions of a
|
||
|
geometrical object in form of a Python Tuple (Xmin, Xmax, Ymin,
|
||
|
Ymax, Zmin, Zmax).
|
||
|
\n <b>TUI Command:</b> <em>geompy.BoundingBox(Shape),</em> where \em Shape
|
||
|
is the shape for which a bounding box is computed.
|
||
|
|
||
|
See also a \ref tui_bounding_box_page "TUI example".
|
||
|
|
||
|
\image html measures5.png
|
||
|
|
||
|
*/
|