Point3dState initialEndPoint1 = new Point3dState(0.2, 0.2, 0.0);
Point3dState initialEndPoint2 = new Point3dState(0.2, 0.1, 0.0);
Point3dState endPoint1 = new Point3dState(0.4, 0.0, 0.0);
Point3dState endPoint2 = new Point3dState(0.2, 0.4, 0.0);
double rotation = Math.PI / 3;
return new TreeLeaf3DState(attachPoint, initialEndPoint1, initialEndPoint2, endPoint1, endPoint2, rotation);
}