specialization of limbo::geometry::rectangle_traits for boost::polygon::rectangle_data
More...
#include <BoostPolygonApi.h>
|
| static coordinate_type | get (const rectangle_type &rect, direction_2d const &dir) |
| | get coordinate from rectangle
|
| static void | set (rectangle_type &rect, direction_2d const &dir, coordinate_type const &value) |
| | set coordinate for rectangle
|
| static rectangle_type | construct (coordinate_type const &xl, coordinate_type const &yl, coordinate_type const &xh, coordinate_type const &yh) |
| | construct rectangle from coordinates
|
template<typename T>
struct limbo::geometry::rectangle_traits< boost::polygon::rectangle_data< T > >
specialization of limbo::geometry::rectangle_traits for boost::polygon::rectangle_data
Definition at line 71 of file BoostPolygonApi.h.
◆ coordinate_type
◆ rectangle_type
◆ construct()
template<typename T>
| rectangle_type limbo::geometry::rectangle_traits< boost::polygon::rectangle_data< T > >::construct |
( |
coordinate_type const & | xl, |
|
|
coordinate_type const & | yl, |
|
|
coordinate_type const & | xh, |
|
|
coordinate_type const & | yh ) |
|
inlinestatic |
construct rectangle from coordinates
- Parameters
-
- Returns
- rectangle object
Definition at line 111 of file BoostPolygonApi.h.
◆ get()
get coordinate from rectangle
- Parameters
-
| rect | a rectangle object |
| dir | direction |
- Returns
- coordinate
Definition at line 82 of file BoostPolygonApi.h.
◆ set()
template<typename T>
| void limbo::geometry::rectangle_traits< boost::polygon::rectangle_data< T > >::set |
( |
rectangle_type & | rect, |
|
|
direction_2d const & | dir, |
|
|
coordinate_type const & | value ) |
|
inlinestatic |
set coordinate for rectangle
- Parameters
-
| rect | a rectangle object |
| dir | direction |
| value | coordinate |
Definition at line 97 of file BoostPolygonApi.h.
The documentation for this struct was generated from the following file:
- /home/abuild/rpmbuild/BUILD/limbo-3.5.4-build/limbo-3.5.4/limbo/geometry/api/BoostPolygonApi.h