}
private double[][] getResolutions(List<LODInfo> lodInfos) {
final int numLevelsOfDetail = lodInfos.size();
double[][] resolutionsAndScales = new double[2][numLevelsOfDetail];
LODInfo lodInfo;
for (int i = 0; i < numLevelsOfDetail; i++) {
lodInfo = lodInfos.get(i);
resolutionsAndScales[0][i] = lodInfo.getResolution();
resolutionsAndScales[1][i] = lodInfo.getScale();
}
return resolutionsAndScales;
}