::hwat::utils::PadBBox - Pads the bounding box with the given values.
PadBBox {BboxDims} Mode PminX PminY PminZ PmaxX PmaxY PmaxZ
BboxDims |
Tcl list of the form MinX MinY MinZ MaxX MaxY MaxZ for the bounding box. |
Mode |
u = pad same value to all dimensions (1 argument). b = pad same value to both sides of corresponding dimensions (3 arguments). d = padding value is specified for each dimension (6 arguments). |
PminX |
Padding value for MinX. |
PminY |
Padding value for MinY (not required for "u"). |
PminZ |
Padding value for MinZ (not required for "u"). |
PmaxX |
Padding value for MaxX (not required for "u" and "b"). |
PmaxY |
Padding value for MaxY (not required for "u" and "b"). |
PmaxZ |
Padding value for MaxZ (not required for "u" and "b"). |
A Tcl list of the form MinX MinY MinZ MaxX MaxY MaxZ if successful , "{}" if unsuccessful.
::hwat::utils::PadBBox [list 1.0 1.0 1.0 10.0 20.0 30.0] "b" 5.0 6.0 –7.0