105106107108109110111112113114115
float headLength = (float) min(1, distance(leafCenter, areaCenter) * 0.3); drawArrow(target, AREA_ARROW_COLOR, headLength, leafCenter.xyz(0), areaCenter.xyz(0)); } } }
573574575576577578579580581582583
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;
574575576577578579580581582583584
} /* 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);
10461047104810491050105110521053105410551056
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()) {