Chris@16: // Copyright 2004, 2005 The Trustees of Indiana University. Chris@16: Chris@16: // Use, modification and distribution is subject to the Boost Software Chris@16: // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at Chris@16: // http://www.boost.org/LICENSE_1_0.txt) Chris@16: Chris@16: // Authors: Douglas Gregor Chris@16: // Andrew Lumsdaine Chris@16: #ifndef BOOST_GRAPH_POINT_TRAITS_HPP Chris@16: #define BOOST_GRAPH_POINT_TRAITS_HPP Chris@16: Chris@16: namespace boost { namespace graph { Chris@16: Chris@16: template Chris@16: struct point_traits Chris@16: { Chris@16: // The type of each component of the point Chris@16: typedef typename Point::component_type component_type; Chris@16: Chris@16: // The number of dimensions in the point Chris@16: static std::size_t dimensions(const Point& point); Chris@16: }; Chris@16: Chris@16: } } // end namespace boost::graph Chris@16: Chris@16: #endif // BOOST_GRAPH_POINT_TRAITS_HPP