EcoTile¶
-
class EcoTile¶
Bases:
TypedReferenceCountThe plants one simulated tile (or region) ended with, and the light that reaches its ground.
A plant is FLOATS floats of `get_table()`: x, y, z (the ground under it), species index, age (years), height (m), crown radius (m), health 0..1 (its recent vigour: light and site), light 0..1 (the open sky’s light reaching its crown), layer (0 tree, 1 understory). Plants are in cell order (rows south to north, west to east; a cell’s tree before its shrub).
The ground light is one value per cell (rows south to north): the light left under every crown over the cell’s centre, 0..1 – what ground cover gets (`GrassField` reads it through `Ecosystem::get_ground_light`).
Inheritance diagram
digraph inheritance462711353d { bgcolor=transparent; rankdir=BT; size="8.0, 12.0"; "DTOOL_SUPER_BASE" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style=""]; "EcoTile" [URL="acron.vegetation.EcoTile.html#acron.vegetation.EcoTile",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "TypedReferenceCount" -> "EcoTile" [arrowsize=0.75,style=""]; "ReferenceCount" [URL="acron.core.ReferenceCount.html#acron.core.ReferenceCount",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "DTOOL_SUPER_BASE" -> "ReferenceCount" [arrowsize=0.75,style=""]; "TypedObject" [URL="acron.core.TypedObject.html#acron.core.TypedObject",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "DTOOL_SUPER_BASE" -> "TypedObject" [arrowsize=0.75,style=""]; "TypedReferenceCount" [URL="acron.core.TypedReferenceCount.html#acron.core.TypedReferenceCount",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "TypedObject" -> "TypedReferenceCount" [arrowsize=0.75,style=""]; "ReferenceCount" -> "TypedReferenceCount" [arrowsize=0.75,style=""]; }- EcoTile.__init__()¶
- EcoTile.get_ages()¶
- EcoTile.get_cell_ground_light()¶
The ground light of cell (ci, cj) of the tile (0-based, from its south- west corner).
- EcoTile.get_cell_size()¶
- EcoTile.get_cells_x()¶
- EcoTile.get_cells_y()¶
- static EcoTile.get_class_type()¶
- EcoTile.get_ground_grid()¶
The light reaching the ground at each cell’s centre, rows south to north.
- EcoTile.get_ground_light()¶
The ground light at (x, y), bilinear between cell centres, clamped to the tile.
- EcoTile.get_healths()¶
- EcoTile.get_heights()¶
- EcoTile.get_max()¶
- EcoTile.get_min()¶
- EcoTile.get_num_plants()¶
- EcoTile.get_plant_age()¶
- EcoTile.get_plant_crown()¶
- EcoTile.get_plant_health()¶
- EcoTile.get_plant_height()¶
- EcoTile.get_plant_light()¶
- EcoTile.get_plant_pos()¶
- EcoTile.get_plant_species()¶
- EcoTile.get_positions()¶
One species’ plants as x, y, z triples (the ground under each stem): what acron.trees’ Forest.plant takes.
- EcoTile.get_seconds()¶
- EcoTile.get_species_count()¶
How many plants of a species the tile has.
- EcoTile.get_table()¶
Every plant, FLOATS floats each (see the class description).
- EcoTile.get_tile_x()¶
- EcoTile.get_tile_y()¶
- EcoTile.is_plant_understory()¶