Geometric modeling of plants