コード例 #1
0
ファイル: boost_concept.hpp プロジェクト: milchakov/omim
 my_point_t operator() (point_data<my_coord_t> const & t)
 {
   return my_point_t(t.x(), t.y());
 }
コード例 #2
0
 point_data(const point_data<CT>& that) {
   coords_[HORIZONTAL] = (coordinate_type)that.x();
   coords_[VERTICAL] = (coordinate_type)that.y();
 }