26from lsst.utils
import continueClass
27from ._geom
import Box2I
33 def grid(self, dtype=np.int32):
34 """Return pair of arrays with the centers of all pixels in the box.
38 dtype : convertible to `numpy.dtype`
39 The data type of the returned arrays.
44 Array with shape `(self.height, self.width)` containing x
47 Array
with shape `(self.height, self.width)` containing x
50 return np.meshgrid(self.x.arange(dtype=dtype), self.y.arange(dtype=dtype))
grid(self, dtype=np.int32)