Signapse
Public Member Functions | Public Attributes | List of all members
BoundingBox Struct Reference

Struct BoundingBox. More...

#include <Scene.h>

Collaboration diagram for BoundingBox:
Collaboration graph

Public Member Functions

 BoundingBox ()
 
 BoundingBox (int upperLeftX, int upperLeftY, int lowerRightX, int lowerRightY)
 
 BoundingBox (Point upperLeft, Point lowerRight)
 

Public Attributes

Point UpperLeft
 
Point LowerRight
 

Detailed Description

Struct BoundingBox.

Data structure holds bounding box point information for a rectangle in image space.

Definition at line 23 of file Scene.h.

Constructor & Destructor Documentation

◆ BoundingBox() [1/3]

BoundingBox::BoundingBox ( )
inline

Definition at line 26 of file Scene.h.

Point LowerRight
Definition: Scene.h:25
Point UpperLeft
Definition: Scene.h:24

◆ BoundingBox() [2/3]

BoundingBox::BoundingBox ( int  upperLeftX,
int  upperLeftY,
int  lowerRightX,
int  lowerRightY 
)
inline

Definition at line 27 of file Scene.h.

27 : UpperLeft(upperLeftX, upperLeftY),
28 LowerRight(lowerRightX, lowerRightY) {}

◆ BoundingBox() [3/3]

BoundingBox::BoundingBox ( Point  upperLeft,
Point  lowerRight 
)
inline

Definition at line 29 of file Scene.h.

29: UpperLeft(upperLeft), LowerRight(lowerRight) {}

Member Data Documentation

◆ LowerRight

Point BoundingBox::LowerRight

Definition at line 25 of file Scene.h.

◆ UpperLeft

Point BoundingBox::UpperLeft

Definition at line 24 of file Scene.h.


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