openalea.ratp.interface.smart_grid#

Class interface for Z+ oriented / autofit equivalent of RATP grid

Functions

relative_index(x, dx)

compute the cell index of a coordinate x in a dx cell-wide 1D grid starting at zero with [lower_bound, upper_bound[ cell boundaries.

Classes

SmartGrid([scene_box, shape, resolution, ...])

A class interface for a natural (Z+ -> sky) auto-fittable RATP grid