type traits for point
More...
#include <Geometry.h>
|
|
typedef PointType | point_type |
|
typedef point_type::coordinate_type | coordinate_type |
|
|
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...
|
|
template<typename PointType>
class limbo::geometry::point_traits< PointType >
type traits for point
- Template Parameters
-
Definition at line 168 of file Geometry.h.
template<typename PointType>
construct point from coordinates
- Parameters
-
- Returns
- point object
Definition at line 191 of file Geometry.h.
template<typename PointType>
get coordinate from point
- Parameters
-
point | a point object |
orient | orientation |
- Returns
- coordinate
Definition at line 179 of file Geometry.h.
template<typename PointType>
set coordinate for point
- Parameters
-
point | a point object |
orient | orientation |
value | coordinate value |
Definition at line 185 of file Geometry.h.
The documentation for this class was generated from the following file:
- /Users/yibolin/Documents/Projects/Limbo/limbo/geometry/Geometry.h