Package toxi.geom.mesh

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


        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

Related Classes of toxi.geom.mesh.WEFace

Copyright © 2018 www.massapicom. 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.