OmniSciDB
a5dc49c757
|
Classes | |
struct | Coords |
struct | BoundingBox |
Functions | |
int | process_poly_ring (OGRLinearRing *ring, std::vector< double > &coords, BoundingBox *bbox) |
Variables | |
constexpr auto | DOUBLE_MAX = std::numeric_limits<double>::max() |
constexpr auto | DOUBLE_MIN = std::numeric_limits<double>::lowest() |
Note: We use dynamic_cast to convert the OGRGeometry pointer from the base class into appropriate OGR<<type>> objects in derived clases to ensure GDAL is creating the proper geometry type for all possibly inputs. Since we check the output type after creating a new OGRGeometry object via the OGRGeometryFactor, we could theoretically move some dynamic_cast to static_cast. The performance impact and safety of going from RTTI to compile time casting needs to be investigated.
int anonymous_namespace{Types.cpp}::process_poly_ring | ( | OGRLinearRing * | ring, |
std::vector< double > & | coords, | ||
BoundingBox * | bbox | ||
) |
Definition at line 71 of file Types.cpp.
References DOUBLE_MAX, to_string(), and anonymous_namespace{Types.cpp}::BoundingBox::update().
Referenced by Geospatial::GeoPolygon::getColumns(), and Geospatial::GeoMultiPolygon::getColumns().
constexpr auto anonymous_namespace{Types.cpp}::DOUBLE_MAX = std::numeric_limits<double>::max() |
Definition at line 41 of file Types.cpp.
Referenced by compute_bounds_of_coords(), and process_poly_ring().
constexpr auto anonymous_namespace{Types.cpp}::DOUBLE_MIN = std::numeric_limits<double>::lowest() |
Definition at line 42 of file Types.cpp.
Referenced by compute_bounds_of_coords().