inline bool operator()(const LatLong& p1, Cartesian& p2) const
 {
     // Latlong (LatLong -> Cartesian) will be projected, rest will be copied.
     // So first copy third or higher dimensions
     ggl::detail::copy::copy_coordinates<LatLong, Cartesian, 2,
             ggl::dimension<Cartesian>::value> ::copy(p1, p2);
     return m_prj->forward(p1, p2);
 }
Esempio n. 2
0
 inline bool apply(LatLong const& p1, Cartesian& p2) const
 {
     // Latlong (LatLong -> Cartesian) will be projected, rest will be copied.
     // So first copy third or higher dimensions
     geometry::detail::conversion::point_to_point<LatLong, Cartesian, 2,
             geometry::dimension<Cartesian>::value> ::apply(p1, p2);
     return m_prj->forward(p1, p2);
 }