2.0.0b10
catchment modelling framework
Loading...
Searching...
No Matches
Map Class Reference
+ Inheritance diagram for Map:

Detailed Description

A Map is the base class for different spatial data distributions.
The base version contains returns always the default value

A Map should implement the following functions:
__iter__, returns an iterator over the items of a map
values(), returns an iterator over the different objects of a map
__call__(x,y,z), returns the object belonging to the position x,y,z

Public Member Functions

 __call__ (self, x, y, z=0)
 

Member Function Documentation

◆ __call__()

__call__ ( self,
x,
y,
z = 0 )
 returns default, regardless of the position given 

Reimplemented in NearestNeighborMap, and PolygonMap.