openalea.phenomenal.mesh.routines

Functions

centers(vertices, faces)

Compute center of each faces

median_color_from_images(vertices, faces, ...)

Return the colors of each face according the median of their color list in the faces projected images.

normals(vertices, faces)

Compute normal of each faces

project_mesh_on_image(vertices, faces, ...)

Return a binary image resulting of the projection of a mesh object representation (vertices, faces) with a projection function.