Rectangle of two Ranges.
More...
#include <Rectangle.hh>
|
| Rectangle () |
|
| Rectangle (Range< Value > x, Range< Value > y) |
|
| Rectangle (Vector2< Value > min, Vector2< Value > max) |
|
| Rectangle (Vector2< Value > min, Value width, Value height) |
|
| Rectangle (Value x_min, Value x_max, Value y_min, Value y_max) |
|
void | SetX (Value const &min, Value const &max) |
|
void | SetY (Value const &min, Value const &max) |
|
void | SetX (Range< Value > const &x) |
|
void | SetY (Range< Value > const &y) |
|
void | SetX (std::pair< Value, Value > const &x) |
|
void | SetY (std::pair< Value, Value > const &y) |
|
void | ResetY () |
|
void | ResetX () |
|
void | SetXMin (Value x_min) |
|
void | SetXMax (Value x_max) |
|
void | SetYMin (Value y_min) |
|
void | SetYMax (Value y_max) |
|
void | Widen (Rectangle< Value > const &range) |
|
void | WidenX (Range< Value > const &x) |
|
void | WidenXMin (Value x_min) |
|
void | WidenXMax (Value x_max) |
|
void | WidenY (Range< Value > const &y) |
|
void | WidenYMin (Value y_min) |
|
void | WidenYMax (Value y_max) |
|
Value | XMin () const |
|
Value | XMax () const |
|
Value | YMin () const |
|
Value | YMax () const |
|
Vector2< Value > | Min () const |
|
Vector2< Value > | Max () const |
|
Range< Value > & | Horizontal () |
|
Range< Value > & | Vertical () |
|
Range< Value > const & | Horizontal () const |
|
Range< Value > const & | Vertical () const |
|
Value | Width () const |
|
Value | Height () const |
|
template<typename Value2 > |
void | WidenY (Range< Value > const &bound_x, std::vector< Value2 > const &xs1, std::vector< Value2 > const &ys1) |
|
template<typename Value2 > |
void | WidenX (Range< Value > const &y, std::vector< Value2 > const &xs, std::vector< Value2 > const &ys) |
|
template<typename Value>
class boca::Rectangle< Value >
Rectangle of two Ranges.
template<typename Value>
void boca::Rectangle< Value >::SetX |
( |
Value const & |
min, |
|
|
Value const & |
max |
|
) |
| |
|
inline |
template<typename Value>
void boca::Rectangle< Value >::SetY |
( |
Value const & |
min, |
|
|
Value const & |
max |
|
) |
| |
|
inline |
template<typename Value>
template<typename Value2 >
void boca::Rectangle< Value >::WidenX |
( |
Range< Value > const & |
y, |
|
|
std::vector< Value2 > const & |
xs, |
|
|
std::vector< Value2 > const & |
ys |
|
) |
| |
|
inline |
template<typename Value>
template<typename Value2 >
void boca::Rectangle< Value >::WidenY |
( |
Range< Value > const & |
bound_x, |
|
|
std::vector< Value2 > const & |
xs1, |
|
|
std::vector< Value2 > const & |
ys1 |
|
) |
| |
|
inline |
template<typename Value>
auto& operator<< |
( |
std::ostream & |
stream, |
|
|
Rectangle< Value > const & |
rectangle |
|
) |
| |
|
friend |
The documentation for this class was generated from the following file: