mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-11-16 10:38:34 +05:00
16 lines
285 B
Plaintext
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
|
|
|
|
*/
|