Torque2D Reference

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | Public Attributes | List of all members
RectD Class Reference

`#include <mRect.h>`

## Public Member Functions
| RectD ()
| RectD (const Point2D &in_rMin, const Point2D &in_rExtent)
| RectD (const F64 in_left, const F64 in_top, const F64 in_width, const F64 in_height)
void | inset (F64 x, F64 y)
bool | intersect (const RectD &clipRect)
Point2D | centre (void) const
F64 | len_x () const
F64 | len_y () const
bool | isValidRect () const

## Public Attributes
Point2D | point
Point2D | extent

## Constructor & Destructor Documentation

RectD | ( |  | ) |
| inline

RectD | ( | const Point2D & | in_rMin,
|  | const Point2D & | in_rExtent
| ) |  |
| inline

RectD | ( | const F64 | in_left,
|  | const F64 | in_top,
|  | const F64 | in_width,
|  | const F64 | in_height
| ) |  |
| inline

## Member Function Documentation

Point2D centre | ( | void |  | ) | const
| inline

void inset | ( | F64 | x,
|  | F64 | y
| ) |  |
| inline

bool intersect | ( | const RectD & | clipRect | ) |
| inline

bool isValidRect | ( |  | ) | const
| inline

F64 len_x | ( |  | ) | const
| inline

F64 len_y | ( |  | ) | const
| inline

## Member Data Documentation

Point2D extent

Point2D point

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

- math/mRect.h