Skip to content

File contour_gen.hpp

FileList > contour > contour_gen.hpp

Go to the source code of this file

  • #include <map>
  • #include <optional>
  • #include <set>
  • #include <vector>
  • #include "config_input/config_input.hpp"
  • #include "contour.hpp"
  • #include "geometry/polygon.hpp"
  • #include "utilities/progress_tracker.hpp"

Namespaces

Type Name
namespace detail

Public Functions

Type Name
std::vector< Contour > generate_contours (const GeoGrid< T > & grid, const ContourConfigs & contour_config, ProgressTracker && progress_tracker)
std::map< double, std::vector< Contour > > generate_contours_at_heights (const GeoGrid< T > & grid, const std::vector< double > & heights, ProgressTracker && progress_tracker, size_t min_points=3, std::optional< T > pad_value=std::nullopt)
std::map< double, std::vector< Contour > > generate_contours_at_heights (const GeoGrid< T > & grid, const std::vector< double > & heights, ProgressTracker && progress_tracker, size_t min_points, T pad_value)
GeoGrid< std::optional< std::byte > > generate_naive_contours (const GeoGrid< double > & ground)
GridGraph< std::set< double > > identify_contours (const GeoGrid< T > & grid, T contour_interval, ProgressTracker && progress_tracker)
GridGraph< std::set< double > > identify_contours_at_heights (const GeoGrid< T > & grid, const std::set< double > & heights, ProgressTracker && progress_tracker, std::optional< T > pad_value=std::nullopt)
GridGraph< std::set< double > > identify_contours_at_heights (const GeoGrid< T > & grid, const std::set< double > & heights, ProgressTracker && progress_tracker, T pad_value)
std::vector< Contour > join_contours (std::vector< Contour > contours, double max_dist)
std::vector< Contour > trim_contours (const std::vector< Contour > & contours, const Extent2D & bounds)

Public Functions Documentation

function generate_contours

template<typename T>
std::vector< Contour > generate_contours (
    const GeoGrid < T > & grid,
    const ContourConfigs & contour_config,
    ProgressTracker && progress_tracker
) 

function generate_contours_at_heights

template<typename T>
std::map< double, std::vector< Contour > > generate_contours_at_heights (
    const GeoGrid < T > & grid,
    const std::vector< double > & heights,
    ProgressTracker && progress_tracker,
    size_t min_points=3,
    std::optional< T > pad_value=std::nullopt
) 

function generate_contours_at_heights

template<typename T>
std::map< double, std::vector< Contour > > generate_contours_at_heights (
    const GeoGrid < T > & grid,
    const std::vector< double > & heights,
    ProgressTracker && progress_tracker,
    size_t min_points,
    T pad_value
) 

function generate_naive_contours

inline GeoGrid < std::optional< std::byte > > generate_naive_contours (
    const GeoGrid < double > & ground
) 

function identify_contours

template<typename T>
GridGraph < std::set< double > > identify_contours (
    const GeoGrid < T > & grid,
    T contour_interval,
    ProgressTracker && progress_tracker
) 

function identify_contours_at_heights

template<typename T>
GridGraph < std::set< double > > identify_contours_at_heights (
    const GeoGrid < T > & grid,
    const std::set< double > & heights,
    ProgressTracker && progress_tracker,
    std::optional< T > pad_value=std::nullopt
) 

function identify_contours_at_heights

template<typename T>
GridGraph < std::set< double > > identify_contours_at_heights (
    const GeoGrid < T > & grid,
    const std::set< double > & heights,
    ProgressTracker && progress_tracker,
    T pad_value
) 

function join_contours

inline std::vector< Contour > join_contours (
    std::vector< Contour > contours,
    double max_dist
) 

function trim_contours

inline std::vector< Contour > trim_contours (
    const std::vector< Contour > & contours,
    const Extent2D & bounds
) 


The documentation for this class was generated from the following file /home/runner/work/Blaze/Blaze/src/lib/contour/contour_gen.hpp