AliceVision
Photogrammetric Computer Vision Framework
Public Member Functions | Public Attributes | List of all members
aliceVision::BoundingBox Struct Reference

Public Member Functions

 BoundingBox (int l, int t, int w, int h)
 
int getRight () const
 
int getBottom () const
 
bool isEmpty () const
 
int area () const
 
void snapToGrid (uint32_t gridSize)
 
BoundingBox unionWith (const BoundingBox &other) const
 
BoundingBox intersectionWith (const BoundingBox &other) const
 
bool isInside (const BoundingBox &other) const
 
BoundingBox dilate (int units)
 
void clampLeft ()
 
void clampRight (int maxRight)
 
void clampTop ()
 
void clampBottom (int maxBottom)
 
BoundingBox doubleSize () const
 
BoundingBox multiply (int scale) const
 
BoundingBox divide (int scale) const
 
BoundingBox limitInside (const BoundingBox &other) const
 

Public Attributes

int left
 
int top
 
int width
 
int height
 

The documentation for this struct was generated from the following file: