Bounding regions and bounding boxes.
Bases: object
Axis-aligned rectangle class.
Defines the smallest axis-aligned rectangle that encloses a set of points.
Usage: aar = AARectangle( (x1,y1),(x2,y2), ... , (xN,yN) )
Bases: imagen.boundingregion.BoundingRegion
A rectangular bounding box defined either by two points forming an axis-aligned rectangle (or simply a radius for a square).
Returns true if the given point is contained within the bounding box, where all boundaries of the box are considered to be inclusive.
Return True if the given point is contained within the bounding box, where the bottom and right boundaries are considered exclusive.
Returns true if the given BoundingBox x is contained within the bounding box, where at least one of the boundaries of the box has to be exclusive.
Bases: imagen.boundingregion.BoundingBox
A BoundingBox initialized as the intersection of the supplied list of BoundingBoxes.
Bases: imagen.boundingregion.BoundingRegion
A circular BoundingRegion.
Takes parameters center (a single 2D point (x,y)) and radius (a scalar radius).
Bases: imagen.boundingregion.BoundingBox
Similar to BoundingBox, but the region is the ellipse inscribed within the rectangle.
Bases: object
Abstract bounding region class, for any portion of a 2D plane.
Only subclasses can be instantiated directly.