Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
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...

#include <access.hpp>

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&)

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