|
|
Public Types | |
| typedef C | coordinate_system |
| typedef T | coordinate_type |
Public Member Functions | |
| template<std::size_t K> | |
| T const & | get () const |
| Compile time access to coordinate values. | |
| point (T const &v0, T const &v1=0, T const &v2=0) | |
| Constructs with one, or optionally two or three values. | |
| point () | |
| Default constructor, no initialization at all. | |
| template<std::size_t K> | |
| void | set (T value) |
Static Public Attributes | |
| static const std::size_t | coordinate_count = D |
| T | numeric type, for example double, float, int | |
| D | coordinate dimension as number of coordinates, for example 2 | |
| C | coordinate system, for example cs::cartesian |
01_point_example.cpp, 02_linestring_example.cpp, 07_graph_route_example.cpp, x03_b_soci_example.cpp, and x03_c_soci_example.cpp.
Definition at line 34 of file point.hpp.
| typedef T ggl::point< T, D, C >::coordinate_type |
| typedef C ggl::point< T, D, C >::coordinate_system |
| ggl::point< T, D, C >::point | ( | ) |
| ggl::point< T, D, C >::point | ( | T const & | v0, | |
| T const & | v1 = 0, |
|||
| T const & | v2 = 0 | |||
| ) |
| T const& ggl::point< T, D, C >::get | ( | ) | const |
| void ggl::point< T, D, C >::set | ( | T | value | ) |
const std::size_t ggl::point< T, D, C >::coordinate_count = D [static] |
|
November 5, 2009 |
Copyright © 1995-2009 Barend Gehrels, Geodan, Amsterdam Copyright © 2008-2009 Bruno Lalande, Paris Copyright © 2009 Mateusz Loskot, Cadcorp, London |