Package jmt.engine.jaba.Hull

Examples of jmt.engine.jaba.Hull.ConvexHull


   */
  public Vector<newFace> Hull3D(Vector<Vertex> vertices) throws ConvexHullException {
    Vector<newFace> newfaces = new Vector<newFace>();

    // Lancio del metodo ConvexHull
    ConvexHull hull = new ConvexHull(vertices);

    // Recupero delle informazioni
    Vector<Polygon> faces = new Vector<Polygon>(hull.getFaces());
    Vector vertoffaces = new Vector();
    Vector<Vertex> vertof0 = new Vector<Vertex>(vertoffaces);

    for (int k = 0; k < faces.size(); k++) {
      vertof0 = faces.get(k).getVertices();
View Full Code Here

TOP

Related Classes of jmt.engine.jaba.Hull.ConvexHull

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.