Point3dState newLeafAttachPoint = leaf3D.getState().getLeafAttachPoint();
double newRotation = leaf3D.getState().getRotation();
Point3d expectedAttachPoint = new Point3d(oldLeafAttachPoint.getX(), 0, oldLeafAttachPoint.getZ());
assertEquals(expectedAttachPoint, newLeafAttachPoint.toPointValue());
assertEquals(oldRotation, newRotation, 0.000001);
}
public void testGetArea() {
leaf3DState = DisplayDataCreatorForTests.createSpecificTreeLeaf3DState();