Package org.osm2world.core.math

Examples of org.osm2world.core.math.VectorXZ.xyz()


          accumulatedLength += coord.distanceTo(vertices.get(i-1));
        }
       
        /* add wall vectors */
       
        final VectorXYZ upperVector = coord.xyz(roof.getRoofEleAt(coord));
        final VectorXYZ middleVector = coord.xyz(baseEle + heightWithoutRoof);
       
        double upperEle = upperVector.y;
        double middleEle = middleVector.y;
       
View Full Code Here


        }
       
        /* add wall vectors */
       
        final VectorXYZ upperVector = coord.xyz(roof.getRoofEleAt(coord));
        final VectorXYZ middleVector = coord.xyz(baseEle + heightWithoutRoof);
       
        double upperEle = upperVector.y;
        double middleEle = middleVector.y;
       
        mainWallVectors.add(middleVector);
View Full Code Here

          double y = heights.get(i);
          double scale = scaleFactors.get(i);
         
          if (scale == 0) {
           
            rings[i] = nCopies(polygon.size() + 1, center.xyz(y));
           
          } else {
           
            rings[i] = new ArrayList<VectorXYZ>();
            for (VectorXZ v : polygon.getVertexLoop()) {
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.