Torque2D Reference

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

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

Public Member Functions | List of all members
RectClipper Class Reference

`#include <rectClipper.h>`

## Public Member Functions
| RectClipper (const RectI &in_rRect)
bool | clipPoint (const Point2I &in_rPoint) const
bool | clipLine (const Point2I &in_rStart, const Point2I &in_rEnd, Point2I &out_rStart, Point2I &out_rEnd) const
bool | clipRect (const RectI &in_rRect, RectI &out_rRect) const

## Constructor & Destructor Documentation

RectClipper | ( | const RectI & | in_rRect | ) |
| inline

## Member Function Documentation

bool clipLine | ( | const Point2I & | in_rStart,
|  | const Point2I & | in_rEnd,
|  | Point2I & | out_rStart,
|  | Point2I & | out_rEnd
| ) |  | const

bool clipPoint | ( | const Point2I & | in_rPoint | ) | const
| inline

bool clipRect | ( | const RectI & | in_rRect,
|  | RectI & | out_rRect
| ) |  | const

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

- math/rectClipper.h
- math/rectClipper.cpp