Skip to content

Class Contour

ClassList > Contour

Public Functions

Type Name
Contour (double height, std::vector< Coordinate2D< double > > && points)
double height () const
bool is_loop () const
void orient_consistent (const GeoGrid< double > & elevation_grid)
const std::vector< Coordinate2D< double > > & points () const
std::vector< Coordinate2D< double > > & points ()
void push_back (const Coordinate2D< double > & point)
Polyline to_polyline (const ContourConfigs & configs) const

Public Static Functions

Type Name
Contour FromGridGraph (const LineCoord2D< size_t > & starting_point, double height, const GeoGrid< double > & grid, GridGraph< std::set< double > > & contour_heights)
Contour from_polyline (const Polyline & polyline)

Public Functions Documentation

function Contour

inline Contour::Contour (
    double height,
    std::vector< Coordinate2D < double > > && points
) 

function height

inline double Contour::height () const

function is_loop

inline bool Contour::is_loop () const

function orient_consistent

inline void Contour::orient_consistent (
    const  GeoGrid < double > & elevation_grid
) 

function points [1/2]

inline const std::vector< Coordinate2D < double > > & Contour::points () const

function points [2/2]

inline std::vector< Coordinate2D < double > > & Contour::points () 

function push_back

inline void Contour::push_back (
    const  Coordinate2D < double > & point
) 

function to_polyline

Polyline Contour::to_polyline (
    const  ContourConfigs & configs
) const

Public Static Functions Documentation

function FromGridGraph

static inline Contour Contour::FromGridGraph (
    const  LineCoord2D < size_t > & starting_point,
    double height,
    const  GeoGrid < double > & grid,
    GridGraph < std::set< double > > & contour_heights
) 

function from_polyline

static Contour Contour::from_polyline (
    const  Polyline & polyline
) 

Friends Documentation

friend operator<<

inline std::ostream & Contour::operator<< (
    std::ostream & os,
    const  Contour & contour
) 


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