::hwat::utils::PadBBox
Pads the bounding box with the given values.
Syntax
PadBBox {BboxDims} Mode PminX PminY PminZ PmaxX PmaxY PmaxZ
Arguments
- 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").
Returns
- Success
- A Tcl list of the form MinX MinY MinZ MaxX MaxY MaxZ
- Failure
- {}
Example
::hwat::utils::PadBBox [list 1.0 1.0 1.0 10.0 20.0 30.0] "b" 5.0 6.0 –7.0