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< bLib::bBox > Struct Template Reference

specialization of limbo::geometry::rectangle_traits for bLib::bBox More...

#include <bLibApi.h>

Public Types

typedef bLib::bBox rectangle_type
 
typedef int coordinate_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<>
struct limbo::geometry::rectangle_traits< bLib::bBox >

specialization of limbo::geometry::rectangle_traits for bLib::bBox

Definition at line 64 of file bLibApi.h.

Member Function Documentation

static rectangle_type limbo::geometry::rectangle_traits< bLib::bBox >::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 104 of file bLibApi.h.

static coordinate_type limbo::geometry::rectangle_traits< bLib::bBox >::get ( const rectangle_type &  rect,
direction_2d const &  dir 
)
inlinestatic

get coordinate from rectangle

Parameters
recta rectangle object
dirdirection
Returns
coordinate

Definition at line 75 of file bLibApi.h.

static void limbo::geometry::rectangle_traits< bLib::bBox >::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 90 of file bLibApi.h.


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