Geometric modelling of plants