File contour.hpp
FileList > contour > contour.hpp
Go to the source code of this file
#include <algorithm>#include <cmath>#include <limits>#include <utility>#include "config_input/config_input.hpp"#include "grid/grid.hpp"#include "grid/grid_ops.hpp"#include "utilities/coordinate.hpp"
Classes
| Type | Name |
|---|---|
| class | Contour |
Public Functions
| Type | Name |
|---|---|
| bool | crosses_contour (std::pair< T, T > hs, T contour_interval) |
| std::set< T > | get_contour_heights (std::pair< T, T > hs, T contour_interval) |
| Coordinate2D< T > | interpolate_coordinates (const Coordinate2D< T > & a, const Coordinate2D< T > & b, const U & a_val, const U & b_val, const U & target) |
| T | round_down (T val, T interval) |
Public Functions Documentation
function crosses_contour
function get_contour_heights
template<typename T>
inline std::set< T > get_contour_heights (
std::pair< T, T > hs,
T contour_interval
)
function interpolate_coordinates
template<typename T, typename U>
Coordinate2D < T > interpolate_coordinates (
const Coordinate2D < T > & a,
const Coordinate2D < T > & b,
const U & a_val,
const U & b_val,
const U & target
)
function round_down
The documentation for this class was generated from the following file /home/runner/work/Blaze/Blaze/src/lib/contour/contour.hpp