/* ################### Begin of Header: Global Characteristics #################### TILIA CORDATA LEAF: Object name = ticoleaf0 Total leaf surface (15 triangles) = 0.00509825 m2 Maximum leaf length (inclusive twig) = 0.1042 m2 Maximum leaf width from vertical axis = 0.0451 m2 Leaf lies in the ZY plane, X=0 for all vertices, bottom of twig lies at origin Synthax for the various geometric primitives (sphere, cylinder and triangle): sphere radius Xcenter Ycenter Zcenter cylinder radius Xbottom Ybottom Zbottom Xtop Ytop Ztop triangle Xvertex1 Yvertex1 Zvertex1 Xvertex2 Yvertex2 Zvertex2 Xvertex3 Yvertex3 Zvertex3 All x,y,z coordinates have units of meter [m] ################################ End of Header ################################# */ name ticoleaf0 list /* definition of the twig: An open cylinder with spheres attached to its endpoints to close it */ sphere 0.0015 0 0 0 cylinder 0.0015 0 0 0 0 0 0.029 sphere 0.0015 0 0 0.029 /* definition of the leaf: A series of triangles that together make up the required leaf shape */ triangle 0.00 0.0087 0.0122 0.00 0.0244 0.0153 0.00 0.0387 0.0311 triangle 0.00 0.0087 0.0122 0.00 0.0387 0.0311 0.00 0.00 0.0207 triangle 0.00 0.00 0.0207 0.00 0.0387 0.0311 0.00 0.00 0.0289 triangle 0.00 0.00 0.0289 0.00 0.0387 0.0311 0.00 0.0391 0.0509 triangle 0.00 0.00 0.0289 0.00 0.0391 0.0509 0.00 0.0357 0.0691 triangle 0.00 0.00 0.0289 0.00 0.0357 0.0691 0.00 0.0289 0.0796 triangle 0.00 0.00 0.0289 0.00 0.0289 0.0796 0.00 0.0069 0.0940 triangle 0.00 -0.0053 0.0947 0.00 0.0069 0.0940 0.00 0.00 0.1042 triangle 0.00 0.00 0.0289 0.00 0.0069 0.0940 0.00 -0.0053 0.0947 triangle 0.00 0.00 0.0289 0.00 -0.0053 0.0947 0.00 -0.0298 0.0833 triangle 0.00 0.00 0.0289 0.00 -0.0298 0.0833 0.00 -0.0404 0.0709 triangle 0.00 0.00 0.0289 0.00 -0.0404 0.0709 0.00 -0.0451 0.0455 triangle 0.00 0.00 0.0289 0.00 -0.0451 0.0455 0.00 -0.0422 0.0344 triangle 0.00 0.00 0.0289 0.00 -0.0422 0.0344 0.00 -0.0338 0.0268 triangle 0.00 0.00 0.0289 0.00 -0.0338 0.0268 0.00 -0.0164 0.0175 end