Public Member Functions | Public Attributes

FCam::Rect Struct Reference

A class to represent rectangles, like regions of an image. More...

#include <Base.h>

List of all members.

Public Member Functions

 Rect ()
 Construct a size zero rectangle at the origin.
 Rect (int x_, int y_, int w_, int h_)
 Construct a rectangle with the given x, y, width, and height.
bool operator== (const Rect &other) const
 Compare two rectangles for equality.
bool operator!= (const Rect &other) const
 Compare two rectangles for equality.

Public Attributes

int x
 The x coord of the top left corner.
int y
 The y coord of the top left corner.
int width
 The width of the rectangle.
int height
 The height of the rectangle.

Detailed Description

A class to represent rectangles, like regions of an image.

Definition at line 79 of file Base.h.


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