@@ -0,0 +1,724 @@
+package de.hft_stuttgart.swp2.volume;%0D%0A%0D%0Aimport java.util.Arrays;%0D%0A%0D%0Aimport de.hft_stuttgart.swp2.model.Building;%0D%0Aimport de.hft_stuttgart.swp2.model.City;%0D%0Aimport de.hft_stuttgart.swp2.model.Triangle;%0D%0Aimport de.hft_stuttgart.swp2.model.Vertex;%0D%0A%0D%0Apublic class Test %7B%0D%0A%0D%0A%09public static void main(String%5B%5D args) %7B%0D%0A%09%09Vertex v = new Vertex(0, 0, 0);%0D%0A%09%09Triangle t = new Triangle(new Vertex%5B%5D %7B v, v, v %7D);%0D%0A%09%09Building b = new Building();%0D%0A%09%09b.addTriangle(t);%0D%0A%0D%0A%09%09City.getInstance().addBuilding(b);%0D%0A%09%09// =================================================%0D%0A%0D%0A%09%09System.out%0D%0A%09%09%09%09.println(Arrays.toString(City.getInstance().getBuildings()%0D%0A%09%09%09%09%09%09.get(0).getTriangles().get(0).getVertices()%5B0%5D%0D%0A%09%09%09%09%09%09.getCoordinates()));%0D%0A%09%7D%0D%0A%7D%0D%0A

Test für Model