lsst.afw  15.0-21-g91b8abf62
Functions
lsst.afw.cameraGeom.rotateBBoxBy90 Namespace Reference

Functions

def rotateBBoxBy90 (bbox, n90, dimensions)
 Rotate a bounding box by an integer multiple of 90 degrees. More...
 

Function Documentation

◆ rotateBBoxBy90()

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

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

Todo:
document dimensions better; what does it specify?
Parameters
bboxbbox to rotate
n90number of quarter rotations to perform
dimensionsdimensions of the parent grid
Returns
rotated bounding box

Definition at line 29 of file rotateBBoxBy90.py.