Limbo
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Static Public Member Functions | List of all members
limbo::geometry::rectangle_traits< boost::polygon::rectangle_data< T > > Struct Template Reference

specialization of limbo::geometry::rectangle_traits for boost::polygon::rectangle_data More...

#include <BoostPolygonApi.h>

Public Types

typedef T coordinate_type
 
typedef
boost::polygon::rectangle_data
< T > 
rectangle_type
 

Static Public Member Functions

static coordinate_type get (const rectangle_type &rect, direction_2d const &dir)
 get coordinate from rectangle More...
 
static void set (rectangle_type &rect, direction_2d const &dir, coordinate_type const &value)
 set coordinate for rectangle More...
 
static rectangle_type construct (coordinate_type const &xl, coordinate_type const &yl, coordinate_type const &xh, coordinate_type const &yh)
 construct rectangle from coordinates More...
 

Detailed Description

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 63 of file BoostPolygonApi.h.

Member Function Documentation

template<typename T >
static 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
xl,yl,xh,yhcoordinates
Returns
rectangle object

Definition at line 103 of file BoostPolygonApi.h.

template<typename T >
static coordinate_type limbo::geometry::rectangle_traits< boost::polygon::rectangle_data< T > >::get ( const rectangle_type &  rect,
direction_2d const &  dir 
)
inlinestatic

get coordinate from rectangle

Parameters
recta rectangle object
dirdirection
Returns
coordinate

Definition at line 74 of file BoostPolygonApi.h.

template<typename T >
static 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
recta rectangle object
dirdirection
valuecoordinate

Definition at line 89 of file BoostPolygonApi.h.


The documentation for this struct was generated from the following file: