/* ################### Begin of Header: Global Characteristics #################### POPULUS TREMULUS LEAF: Object name = potrleaf0 Total leaf surface (14 triangles) = 0.0018803 m2 Maximum leaf length (inclusive twig) = 0.0808 m2 Maximum leaf width from vertical axis = 0.0309 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 potrleaf0 list /* definition of the twig: An open cylinder with spheres attached to its endpoints to close it */ sphere 0.001 0 0 0 cylinder 0.001 0 0 0 0 0 0.03 sphere 0.001 0 0 0.03 /* definition of the leaf: A series of triangles that together make up the required leaf shape */ triangle 0.00 0.0000 0.0300 0.00 0.0263 0.0468 0.00 -0.0231 0.0406 triangle 0.00 -0.0231 0.0406 0.00 0.0263 0.0468 0.00 0.0235 0.0487 triangle 0.00 -0.0231 0.0406 0.00 0.0235 0.0487 0.00 -0.0216 0.0435 triangle 0.00 -0.0216 0.0435 0.00 0.0235 0.0487 0.00 0.0281 0.0576 triangle 0.00 -0.0216 0.0435 0.00 0.0281 0.0576 0.00 -0.0303 0.0500 triangle 0.00 -0.0303 0.0500 0.00 0.0281 0.0576 0.00 0.0240 0.0587 triangle 0.00 -0.0303 0.0500 0.00 0.0240 0.0587 0.00 -0.0270 0.0528 triangle 0.00 -0.0270 0.0528 0.00 0.0240 0.0587 0.00 -0.0309 0.0594 triangle 0.00 -0.0309 0.0594 0.00 0.0240 0.0587 0.00 -0.0257 0.0617 triangle 0.00 -0.0257 0.0617 0.00 -0.0121 0.0728 0.00 -0.0193 0.0751 triangle 0.00 -0.0257 0.0617 0.00 0.0240 0.0587 0.00 -0.0121 0.0728 triangle 0.00 -0.0121 0.0728 0.00 0.0127 0.0712 0.00 0.00 0.0808 triangle 0.00 0.0127 0.0712 0.00 0.0240 0.0587 0.00 0.0198 0.0735 triangle 0.00 -0.0121 0.0728 0.00 0.0240 0.0587 0.00 0.0127 0.0712 end