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
RectF Class Reference

`#include <mRect.h>`

## Public Member Functions
| RectF ()
| RectF (const Point2F &in_rMin, const Point2F &in_rExtent)
| RectF (const F32 in_left, const F32 in_top, const F32 in_width, const F32 in_height)
void | inset (F32 x, F32 y)
bool | intersect (const RectF &clipRect)
bool | overlaps (const RectF &) const
Point2F | centre (void) const
F32 | len_x () const
F32 | len_y () const
bool | isValidRect () const

## Public Attributes
Point2F | point
Point2F | extent

## Constructor & Destructor Documentation

RectF | ( |  | ) |
| inline

RectF | ( | const Point2F & | in_rMin,
|  | const Point2F & | in_rExtent
| ) |  |
| inline

RectF | ( | const F32 | in_left,
|  | const F32 | in_top,
|  | const F32 | in_width,
|  | const F32 | in_height
| ) |  |
| inline

## Member Function Documentation

Point2F centre | ( | void |  | ) | const
| inline

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

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

bool isValidRect | ( |  | ) | const
| inline

F32 len_x | ( |  | ) | const
| inline

F32 len_y | ( |  | ) | const
| inline

bool overlaps | ( | const RectF & | clipRect | ) | const
| inline

## Member Data Documentation

Point2F extent

Point2F point

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

- math/mRect.h