BoxGrid¶
- class lsst.afw.geom.testUtils.BoxGrid(box, numColRow)¶
Bases:
object
Divide a box into nx by ny sub-boxes that tile the region
The sub-boxes will be of the same type as
box
and will exactly tilebox
; they will also all be the same size, to the extent possible (some variation is inevitable for integer boxes that cannot be evenly divided.- Parameters:
- box
lsst.geom.Box2I
orlsst.geom.Box2D
the box to subdivide; the boxes in the grid will be of the same type
- numColRowpair of
int
number of columns and rows
- box
Attributes Summary
Attributes Documentation
- numColRow¶