/* Copyright 2008 Intel Corporation Use, modification and distribution are subject to the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt).*/#ifndef BOOST_POLYGON_POINT_TRAITS_HPP#define BOOST_POLYGON_POINT_TRAITS_HPP#include "isotropy.hpp"namespaceboost{namespacepolygon{template<typenameT>structpoint_traits{typedeftypenameT::coordinate_typecoordinate_type;staticinlinecoordinate_typeget(constT&point,orientation_2dorient){returnpoint.get(orient);}};template<typenameT>structpoint_mutable_traits{staticinlinevoidset(T&point,orientation_2dorient,typenamepoint_traits<T>::coordinate_typevalue){point.set(orient,value);}staticinlineTconstruct(typenamepoint_traits<T>::coordinate_typex_value,typenamepoint_traits<T>::coordinate_typey_value){returnT(x_value,y_value);}};}}#endif