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< PointType > Class Template Reference

type traits for point More...

#include <Geometry.h>

Public Types

typedef PointType point_type
 
typedef point_type::coordinate_type 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<typename PointType>
class limbo::geometry::point_traits< PointType >

type traits for point

Template Parameters
PointTypepoint type

Definition at line 168 of file Geometry.h.

Member Function Documentation

template<typename PointType>
static point_type limbo::geometry::point_traits< PointType >::construct ( coordinate_type const &  x,
coordinate_type const &  y 
)
inlinestatic

construct point from coordinates

Parameters
xcoordinate
ycoordinate
Returns
point object

Definition at line 191 of file Geometry.h.

template<typename PointType>
static coordinate_type limbo::geometry::point_traits< PointType >::get ( const point_type &  point,
orientation_2d const &  orient 
)
inlinestatic

get coordinate from point

Parameters
pointa point object
orientorientation
Returns
coordinate

Definition at line 179 of file Geometry.h.

template<typename PointType>
static void limbo::geometry::point_traits< PointType >::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 185 of file Geometry.h.


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