GEOS  3.9.1dev
Public Member Functions | Static Public Member Functions | Private Types | Private Attributes | List of all members
geos::geomgraph::Depth Class Reference

A Depth object records the topological depth of the sides of an Edge for up to two Geometries. More...

#include <Depth.h>

Public Member Functions

 Depth ()
 
virtual ~Depth ()=default
 
int getDepth (int geomIndex, int posIndex) const
 
void setDepth (int geomIndex, int posIndex, int depthValue)
 
geom::Location getLocation (int geomIndex, int posIndex) const
 
void add (int geomIndex, int posIndex, geom::Location location)
 
bool isNull () const
 
bool isNull (int geomIndex) const
 
bool isNull (int geomIndex, int posIndex) const
 
int getDelta (int geomIndex) const
 
void normalize ()
 
void add (const Label &lbl)
 
std::string toString () const
 

Static Public Member Functions

static int depthAtLocation (geom::Location location)
 

Private Types

enum  { NULL_VALUE = -1 }
 

Private Attributes

int depth [2][3]
 

Detailed Description

A Depth object records the topological depth of the sides of an Edge for up to two Geometries.

Definition at line 42 of file Depth.h.

Member Enumeration Documentation

anonymous enum
private
Enumerator
NULL_VALUE 

Definition at line 59 of file Depth.h.

Constructor & Destructor Documentation

geos::geomgraph::Depth::Depth ( )
virtual geos::geomgraph::Depth::~Depth ( )
virtualdefault

Member Function Documentation

void geos::geomgraph::Depth::add ( int  geomIndex,
int  posIndex,
geom::Location  location 
)
void geos::geomgraph::Depth::add ( const Label lbl)
static int geos::geomgraph::Depth::depthAtLocation ( geom::Location  location)
static
int geos::geomgraph::Depth::getDelta ( int  geomIndex) const
int geos::geomgraph::Depth::getDepth ( int  geomIndex,
int  posIndex 
) const
geom::Location geos::geomgraph::Depth::getLocation ( int  geomIndex,
int  posIndex 
) const
bool geos::geomgraph::Depth::isNull ( ) const
bool geos::geomgraph::Depth::isNull ( int  geomIndex) const
bool geos::geomgraph::Depth::isNull ( int  geomIndex,
int  posIndex 
) const
void geos::geomgraph::Depth::normalize ( )
void geos::geomgraph::Depth::setDepth ( int  geomIndex,
int  posIndex,
int  depthValue 
)
std::string geos::geomgraph::Depth::toString ( ) const

Member Data Documentation

int geos::geomgraph::Depth::depth[2][3]
private

Definition at line 62 of file Depth.h.


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