HPS::OOC::Area Class Reference
#include <sprk_ooc.h>
Public Member Functions | |
Area (HPS::Rectangle const &in_rect, HPS::MatrixKit const &in_world_to_window, const char *in_name) | |
HPS::UTF8 const & | GetName () const |
HPS::Point const & | GetWindowMax () const |
HPS::Point const & | GetWindowMin () const |
HPS::MatrixKit const & | GetWorldToWindow () const |
bool | Intersects (HPS::SimpleCuboid const &world_space_bounding) const |
bool | Intersects (HPS::Point const &world_space_point) const |
Protected Attributes | |
HPS::UTF8 | name |
HPS::Point | window_max |
HPS::Point | window_min |
HPS::MatrixKit | world_to_window |
Detailed Description
The Area class is represents a quadrilateral area for highlighting.
Member Function Documentation
|
inline |
Returns the name associated with this Area
|
inline |
|
inline |
Determines if a cuboid intersects this Area.
- Parameters
-
world_space_bounding The cuboid to test
- Returns
- true if the cuboid interects this area, false otherwise.
|
inline |
Determines if a point intersects this Area.
- Parameters
-
world_space_point The point to test
- Returns
- true if the point interects this area, false otherwise.
The documentation for this class was generated from the following file:
- include/sprk_ooc.h