rotateBBoxBy90

lsst.afw.cameraGeom.rotateBBoxBy90(bbox, n90, dimensions)

Rotate a bounding box by an integer multiple of 90 degrees.

Parameters
bboxlsst.geom.Box2I

Bounding box to rotate.

n90int

Number of quarter rotations to perform

dimensionstuple of int

Dimensions of the parent grid.

Returns
newBboxlsst.geom.Box

Rotated bounding box.

Notes

TODO:

document dimensions better; what does it specify?