Namespace Eco.Simulation.Plants
Classes
PlantCache
This clase provides access to plants by species acording cell size. It allows fast lookup by area and plant species for most cases. Internally it saves plants in cells of diferent sizes: by example 0-5, 5-10 and 0-10. It helps to be able provide fast access for areas of diferent sizes: in case if area match some cell, it can just return data inside of it.
PlantsInAreaEnumerable
Allows to iterate through plants in area with almost no memory alloactions by using poolablelist inside of enumerator
PlantsInAreaEnumerableExtensions
Allows to use Enumerable.AsValueEnumerable without boxing.