Package org.poly2tri.geometry.polygon

Examples of org.poly2tri.geometry.polygon.PolygonPoint


  private static final Polygon toPolygon(SimplePolygonXZ polygon) {
       
    List<PolygonPoint> points = new ArrayList<PolygonPoint>(polygon.size());
   
    for (VectorXZ v : polygon.getVertices()) {
      points.add(new PolygonPoint(v.x, v.z));
    }
   
    return new Polygon(points);
   
  }
View Full Code Here

TOP

Related Classes of org.poly2tri.geometry.polygon.PolygonPoint

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.