GEOS  3.9.1dev
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
geos::operation::overlay::ElevationMatrix Class Reference

#include <ElevationMatrix.h>

Collaboration diagram for geos::operation::overlay::ElevationMatrix:
[legend]

Public Member Functions

 ElevationMatrix (const geom::Envelope &extent, unsigned int rows, unsigned int cols)
 
 ~ElevationMatrix ()=default
 
void add (const geom::Geometry *geom)
 
void elevate (geom::Geometry *geom) const
 
double getAvgElevation () const
 
ElevationMatrixCellgetCell (const geom::Coordinate &c)
 
const ElevationMatrixCellgetCell (const geom::Coordinate &c) const
 
std::string print () const
 

Private Member Functions

void add (const geom::Coordinate &c)
 

Private Attributes

ElevationMatrixFilter filter
 
geom::Envelope env
 
unsigned int cols
 
unsigned int rows
 
double cellwidth
 
double cellheight
 
bool avgElevationComputed
 
double avgElevation
 
std::vector< ElevationMatrixCellcells
 

Friends

class ElevationMatrixFilter
 

Detailed Description

Definition at line 79 of file ElevationMatrix.h.

Constructor & Destructor Documentation

geos::operation::overlay::ElevationMatrix::ElevationMatrix ( const geom::Envelope extent,
unsigned int  rows,
unsigned int  cols 
)
geos::operation::overlay::ElevationMatrix::~ElevationMatrix ( )
default

Member Function Documentation

void geos::operation::overlay::ElevationMatrix::add ( const geom::Geometry geom)
void geos::operation::overlay::ElevationMatrix::add ( const geom::Coordinate c)
private
void geos::operation::overlay::ElevationMatrix::elevate ( geom::Geometry geom) const
double geos::operation::overlay::ElevationMatrix::getAvgElevation ( ) const
ElevationMatrixCell& geos::operation::overlay::ElevationMatrix::getCell ( const geom::Coordinate c)
const ElevationMatrixCell& geos::operation::overlay::ElevationMatrix::getCell ( const geom::Coordinate c) const
std::string geos::operation::overlay::ElevationMatrix::print ( ) const

Friends And Related Function Documentation

friend class ElevationMatrixFilter
friend

Definition at line 80 of file ElevationMatrix.h.

Member Data Documentation

double geos::operation::overlay::ElevationMatrix::avgElevation
mutableprivate

Definition at line 101 of file ElevationMatrix.h.

bool geos::operation::overlay::ElevationMatrix::avgElevationComputed
mutableprivate

Definition at line 100 of file ElevationMatrix.h.

double geos::operation::overlay::ElevationMatrix::cellheight
private

Definition at line 99 of file ElevationMatrix.h.

std::vector<ElevationMatrixCell> geos::operation::overlay::ElevationMatrix::cells
private

Definition at line 102 of file ElevationMatrix.h.

double geos::operation::overlay::ElevationMatrix::cellwidth
private

Definition at line 98 of file ElevationMatrix.h.

unsigned int geos::operation::overlay::ElevationMatrix::cols
private

Definition at line 96 of file ElevationMatrix.h.

geom::Envelope geos::operation::overlay::ElevationMatrix::env
private

Definition at line 95 of file ElevationMatrix.h.

ElevationMatrixFilter geos::operation::overlay::ElevationMatrix::filter
private

Definition at line 93 of file ElevationMatrix.h.

unsigned int geos::operation::overlay::ElevationMatrix::rows
private

Definition at line 97 of file ElevationMatrix.h.


The documentation for this class was generated from the following file: