Skip to content

Namespace detail

Namespace List > detail

Classes

Type Name
class ExtentSpatialIndex

Public Functions

Type Name
void append_ogr_polygons (const OGRGeometry * geometry, std::vector< std::unique_ptr< OGRGeometry > > & out)
void append_polygons_from_ogr (const OGRGeometry * geometry, std::vector< PolygonWithHoles > & out)
int blaze_output_score (const BlazeOutputSet & outputs)
std::unique_ptr< OGRGeometry > build_cutout_union (const std::vector< PolygonWithHoles > & cutouts)
void collect_locations_with_outputs (const fs::path & directory, std::vector< fs::path > & locations)
void collect_search_roots (const fs::path & directory, std::vector< fs::path > & roots)
BlazeOutputSet discover_in_root (const fs::path & root)
void fill_ogr_ring (OGRLinearRing & ring, const std::vector< Coordinate2D< double > > & vertices)
std::optional< fs::path > find_in_root (const fs::path & root, const std::vector< std::string > & names)
bool has_importable_outputs (const BlazeOutputSet & outputs)
GridGraph< std::set< double > > identify_contour_crossings (const GeoGrid< T > & grid, EdgeHeightsFn edge_heights)
bool is_blaze_output_filename (const std::string & name)
bool is_combined_root (const fs::path & root)
double min_contour_loop_area_m2 (const GeoGrid< T > & grid)
PolygonWithHoles polygon_from_ogr (const OGRPolygon * ogr_poly)
std::unique_ptr< OGRGeometry > polygon_to_ogr (const PolygonWithHoles & poly)
std::unique_ptr< OGRGeometry > repair_ogr_geometry (std::unique_ptr< OGRGeometry > geom)
std::unique_ptr< OGRGeometry > ring_to_ogr (const std::vector< Coordinate2D< double > > & exterior_ring)
void trace_contours (const GeoGrid< T > & grid, GridGraph< std::set< double > > & contour_heights, AcceptFn accept, EmitFn emit)
const GeoGrid< T > & work_grid_for_contours (const GeoGrid< T > & grid, std::optional< T > pad_value, std::optional< GeoGrid< T > > & padded_out)

Public Functions Documentation

function append_ogr_polygons

inline void detail::append_ogr_polygons (
    const OGRGeometry * geometry,
    std::vector< std::unique_ptr< OGRGeometry > > & out
) 

function append_polygons_from_ogr

inline void detail::append_polygons_from_ogr (
    const OGRGeometry * geometry,
    std::vector< PolygonWithHoles > & out
) 

function blaze_output_score

inline int detail::blaze_output_score (
    const BlazeOutputSet & outputs
) 

function build_cutout_union

inline std::unique_ptr< OGRGeometry > detail::build_cutout_union (
    const std::vector< PolygonWithHoles > & cutouts
) 

function collect_locations_with_outputs

inline void detail::collect_locations_with_outputs (
    const fs::path & directory,
    std::vector< fs::path > & locations
) 

function collect_search_roots

inline void detail::collect_search_roots (
    const fs::path & directory,
    std::vector< fs::path > & roots
) 

function discover_in_root

inline BlazeOutputSet detail::discover_in_root (
    const fs::path & root
) 

function fill_ogr_ring

inline void detail::fill_ogr_ring (
    OGRLinearRing & ring,
    const std::vector< Coordinate2D < double > > & vertices
) 

function find_in_root

inline std::optional< fs::path > detail::find_in_root (
    const fs::path & root,
    const std::vector< std::string > & names
) 

function has_importable_outputs

inline bool detail::has_importable_outputs (
    const BlazeOutputSet & outputs
) 

function identify_contour_crossings

template<typename T, typename EdgeHeightsFn>
GridGraph < std::set< double > > detail::identify_contour_crossings (
    const GeoGrid < T > & grid,
    EdgeHeightsFn edge_heights
) 

function is_blaze_output_filename

inline bool detail::is_blaze_output_filename (
    const std::string & name
) 

function is_combined_root

inline bool detail::is_combined_root (
    const fs::path & root
) 

function min_contour_loop_area_m2

template<typename T>
double detail::min_contour_loop_area_m2 (
    const GeoGrid < T > & grid
) 

function polygon_from_ogr

inline PolygonWithHoles detail::polygon_from_ogr (
    const OGRPolygon * ogr_poly
) 

function polygon_to_ogr

inline std::unique_ptr< OGRGeometry > detail::polygon_to_ogr (
    const PolygonWithHoles & poly
) 

function repair_ogr_geometry

inline std::unique_ptr< OGRGeometry > detail::repair_ogr_geometry (
    std::unique_ptr< OGRGeometry > geom
) 

function ring_to_ogr

inline std::unique_ptr< OGRGeometry > detail::ring_to_ogr (
    const std::vector< Coordinate2D < double > > & exterior_ring
) 

function trace_contours

template<typename T, typename AcceptFn, typename EmitFn>
void detail::trace_contours (
    const GeoGrid < T > & grid,
    GridGraph < std::set< double > > & contour_heights,
    AcceptFn accept,
    EmitFn emit
) 

function work_grid_for_contours

template<typename T>
const GeoGrid < T > & detail::work_grid_for_contours (
    const GeoGrid < T > & grid,
    std::optional< T > pad_value,
    std::optional< GeoGrid < T > > & padded_out
) 


The documentation for this class was generated from the following file /home/runner/work/Blaze/Blaze/src/gui/blaze_output_loader.hpp