geom/doc/salome/gui/GEOM/input/tui_min_distance.doc
2012-08-09 07:58:02 +00:00

16 lines
285 B
Plaintext

/*!
\page tui_min_distance_page Minimal Distance
\code
import geompy
# create boxes
box1 = geompy.MakeBoxDXDYDZ(100,30,100)
box2 = geompy.MakeBox(105,0,0,200,30,100)
min_dist = geompy.MinDistance(box1,box2)
print "\nMinimal distance between box1 and box2 = ", min_dist
\endcode
*/