Skip to content

Class Contour

ClassList > Contour

Public Functions

Type Name
Contour (double height, std::vector< Coordinate2D< double > > && points, std::string layer_name="")
void close_loop ()
double height () const
bool is_loop () const
const std::string & layer_name () const
void orient_consistent (const GeoGrid< T > & value_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< T > & 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,
    std::string layer_name=""
) 

function close_loop

inline void Contour::close_loop () 

function height

inline double Contour::height () const

function is_loop

inline bool Contour::is_loop () const

function layer_name

inline const std::string & Contour::layer_name () const

function orient_consistent

template<typename T>
inline void Contour::orient_consistent (
    const GeoGrid < T > & value_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

template<typename T>
static inline Contour Contour::FromGridGraph (
    const LineCoord2D < size_t > & starting_point,
    double height,
    const GeoGrid < T > & 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