Boost.Geometry    Boost C++ Libraries
boost::geometry::traits::indexed_access< Geometry, Index, Dimension > Struct Template Reference

Traits class defining "get" and "set" to get and set point coordinate values. More...

Detailed Description

template<typename Geometry, std::size_t Index, std::size_t Dimension>
struct boost::geometry::traits::indexed_access< Geometry, Index, Dimension >

Traits class defining "get" and "set" to get and set point coordinate values.

Template Parameters
Geometrygeometry (box, segment)
Indexindex (min_corner/max_corner for box, 0/1 for segment)
Dimensiondimension
Geometries:
  • box
  • segment
Specializations should provide:
  • static inline T get(G const&)
  • static inline void set(G&, T const&)

April 2, 2011

Copyright © 2007-2011 Barend Gehrels, Amsterdam, the Netherlands
Copyright © 2008-2011 Bruno Lalande, Paris, France
Copyright © 2009-2010 Mateusz Loskot, London, UK
Documentation is generated by Doxygen