|
Limbo 3.5.4
|
if your rectangle class setting is different from that in the default point_traits, please create a specialization More...
Public Types | |
| typedef Rectangle | rectangle_type |
| rectangle type | |
| typedef int | coordinate_type |
| coordinate type | |
| typedef Rectangle | rectangle_type |
| rectangle type | |
| typedef uint64_t | coordinate_type |
| coordinate type | |
Static Public Member Functions | |
| static coordinate_type | get (const rectangle_type &rect, direction_2d dir) |
| access coordinates | |
| static void | set (rectangle_type &rect, direction_2d dir, coordinate_type value) |
| set coordinates | |
| static rectangle_type | construct (coordinate_type xl, coordinate_type yl, coordinate_type xh, coordinate_type yh) |
| construct rectangle | |
| static coordinate_type | get (const rectangle_type &rect, direction_2d dir) |
| access coordinates | |
| static void | set (rectangle_type &rect, direction_2d dir, coordinate_type value) |
| set coordinates | |
| static rectangle_type | construct (coordinate_type xl, coordinate_type yl, coordinate_type xh, coordinate_type yh) |
| construct rectangle | |
if your rectangle class setting is different from that in the default point_traits, please create a specialization
Definition at line 172 of file test_p2r.cpp.
| typedef int limbo::geometry::rectangle_traits< Rectangle >::coordinate_type |
coordinate type
Definition at line 177 of file test_p2r.cpp.
| typedef uint64_t limbo::geometry::rectangle_traits< Rectangle >::coordinate_type |
coordinate type
Definition at line 177 of file test_uint64.cpp.
| typedef Rectangle limbo::geometry::rectangle_traits< Rectangle >::rectangle_type |
rectangle type
Definition at line 175 of file test_p2r.cpp.
| typedef Rectangle limbo::geometry::rectangle_traits< Rectangle >::rectangle_type |
rectangle type
Definition at line 175 of file test_uint64.cpp.
|
inlinestatic |
construct rectangle
| xl,yl,xh,yh | coordinates of rectangle |
Definition at line 218 of file test_p2r.cpp.
|
inlinestatic |
construct rectangle
| xl,yl,xh,yh | coordinates of rectangle |
Definition at line 218 of file test_uint64.cpp.
|
inlinestatic |
access coordinates
| rect | a rectangle object |
| dir | can be LEFT (xl), BOTTOM (yl), RIGHT (xh) or TOP (yh) |
Definition at line 185 of file test_p2r.cpp.
|
inlinestatic |
access coordinates
| rect | a rectangle object |
| dir | can be LEFT (xl), BOTTOM (yl), RIGHT (xh) or TOP (yh) |
Definition at line 185 of file test_uint64.cpp.
|
inlinestatic |
set coordinates
| rect | a rectangle object |
| dir | can be LEFT (xl), BOTTOM (yl), RIGHT (xh) or TOP (yh) |
| value | coordinate value |
Definition at line 202 of file test_p2r.cpp.
|
inlinestatic |
set coordinates
| rect | a rectangle object |
| dir | can be LEFT (xl), BOTTOM (yl), RIGHT (xh) or TOP (yh) |
| value | coordinate value |
Definition at line 202 of file test_uint64.cpp.