1 // Copyright 2004, 2005 The Trustees of Indiana University.
3 // Use, modification and distribution is subject to the Boost Software
4 // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
5 // http://www.boost.org/LICENSE_1_0.txt)
7 // Authors: Douglas Gregor
9 #ifndef BOOST_GRAPH_POINT_TRAITS_HPP
10 #define BOOST_GRAPH_POINT_TRAITS_HPP
12 namespace boost { namespace graph {
14 template<typename Point>
17 // The type of each component of the point
18 typedef typename Point::component_type component_type;
20 // The number of dimensions in the point
21 static std::size_t dimensions(const Point& point);
24 } } // end namespace boost::graph
26 #endif // BOOST_GRAPH_POINT_TRAITS_HPP