Examples of WEFace


Examples of toxi.geom.mesh.WEFace

        }
    }

    public void testPerforate() {
        m.removeFace(m.getFaces().get(0));
        WEFace f = (WEFace) m.getFaces().get(0);
        m.perforateFace(f, 0.5f);
        System.out.println(m.edges.size() + " edges");
    }
View Full Code Here

Examples of toxi.geom.mesh.WEFace

        System.out.println(m.edges.size() + " edges");
    }

    public void testRemoveFace() {
        assertEquals(5, m.edges.size());
        WEFace f = (WEFace) m.getFaces().get(0);
        m.removeFace(f);
        assertEquals(3, m.edges.size());
        assertEquals(3, m.vertices.size());
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.