mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-11-16 10:38:34 +05:00
18 lines
338 B
Plaintext
18 lines
338 B
Plaintext
|
/*!
|
||
|
|
||
|
\page tui_bounding_box_page Bounding Box
|
||
|
|
||
|
\code
|
||
|
import geompy
|
||
|
|
||
|
# create a box
|
||
|
box = geompy.MakeBoxDXDYDZ(100,30,100)
|
||
|
bb = geompy.BoundingBox(box)
|
||
|
print "\nBounding Box of box 100x30x100:"
|
||
|
print " Xmin = ", bb[0], ", Xmax = ", bb[1]
|
||
|
print " Ymin = ", bb[2], ", Ymax = ", bb[3]
|
||
|
print " Zmin = ", bb[4], ", Zmax = ", bb[5]
|
||
|
\endcode
|
||
|
|
||
|
*/
|