Limbo
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Static Public Member Functions | List of all members
limbo::geometry::point_traits< bLib::bPoint > Struct Template Reference

specialization of limbo::geometry::point_traits for bLib::bPoint More...

#include <bLibApi.h>

Public Types

typedef bLib::bPoint point_type
 
typedef int coordinate_type
 

Static Public Member Functions

static coordinate_type get (const point_type &point, orientation_2d const &orient)
 get coordinate from point More...
 
static void set (point_type &point, orientation_2d const &orient, coordinate_type const &value)
 set coordinate for point More...
 
static point_type construct (coordinate_type const &x, coordinate_type const &y)
 construct point from coordinates More...
 

Detailed Description

template<>
struct limbo::geometry::point_traits< bLib::bPoint >

specialization of limbo::geometry::point_traits for bLib::bPoint

Definition at line 25 of file bLibApi.h.

Member Function Documentation

static point_type limbo::geometry::point_traits< bLib::bPoint >::construct ( coordinate_type const &  x,
coordinate_type const &  y 
)
inlinestatic

construct point from coordinates

Parameters
xcoordinate
ycoordinate
Returns
point object

Definition at line 56 of file bLibApi.h.

static coordinate_type limbo::geometry::point_traits< bLib::bPoint >::get ( const point_type &  point,
orientation_2d const &  orient 
)
inlinestatic

get coordinate from point

Parameters
pointa point object
orientorientation
Returns
coordinate

Definition at line 36 of file bLibApi.h.

static void limbo::geometry::point_traits< bLib::bPoint >::set ( point_type &  point,
orientation_2d const &  orient,
coordinate_type const &  value 
)
inlinestatic

set coordinate for point

Parameters
pointa point object
orientorientation
valuecoordinate value

Definition at line 46 of file bLibApi.h.


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