示例#1
0
 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();
 }