diff options
Diffstat (limited to 'boost/polygon/point_3d_traits.hpp')
-rw-r--r-- | boost/polygon/point_3d_traits.hpp | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/boost/polygon/point_3d_traits.hpp b/boost/polygon/point_3d_traits.hpp deleted file mode 100644 index 9f6eb9a3c2..0000000000 --- a/boost/polygon/point_3d_traits.hpp +++ /dev/null @@ -1,35 +0,0 @@ -/* - 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_3D_TRAITS_HPP -#define BOOST_POLYGON_POINT_3D_TRAITS_HPP - -#include "isotropy.hpp" - -namespace boost { namespace polygon{ - template <typename T> - struct point_3d_traits { - typedef typename T::coordinate_type coordinate_type; - - static inline coordinate_type get(const T& point, orientation_3d orient) { - return point.get(orient); } - }; - - template <typename T> - struct point_3d_mutable_traits { - static inline void set(T& point, orientation_3d orient, typename point_3d_traits<T>::coordinate_type value) { - point.set(orient, value); } - - static inline T construct(typename point_3d_traits<T>::coordinate_type x_value, - typename point_3d_traits<T>::coordinate_type y_value, - typename point_3d_traits<T>::coordinate_type z_value) { - return T(x_value, y_value, z_value); } - }; -} -} -#endif - |