src/core/gshhg.cpp
static inline auto transform_polygon_points(const Polygon& polygon,
                                            std::vector<Cartesian>& points)
    -> void {
  for (const auto& point : polygon.outer()) {
    const auto ecef = geodetic_2_cartesian(
        geodetic_2_radian(GeodeticDegree(point.get<0>(), point.get<1>())));
    points.emplace_back(ecef);
  }
}
// Calculate the ECEF coordinates of the polygon points
Calculate the ECEF coordinates of the polygon points
Calculate the ECEF coordinates of the polygon points
static inline auto transform_polygon_points(const Polygon& polygon,
                                            std::vector<Cartesian>& points)
    -> void {
  for (const auto& point : polygon.outer()) {
    const auto ecef = geodetic_2_cartesian(
        geodetic_2_radian(GeodeticDegree(point.get<0>(), point.get<1>())));
    points.emplace_back(ecef);
  }
}
static inline auto transform_polygon_points ( const Polygon & polygon , std :: vector < Cartesian > & points ) -> void { for ( const auto & point : polygon . outer ( ) ) { const auto ecef = geodetic_2_cartesian ( geodetic_2_radian ( GeodeticDegree ( point . get < 0 > ( ) , point . get < 1 > ( ) ) ) ) ; points . emplace_back ( ecef ) ; } }
Calculate the ECEF coordinates of the polygon points
Calculate the ECEF coordinates of the polygon points