public Coord3d[] returnAllCoordinates(){
		Coord3d[] temp = new Coord3d[allCoordinates.size()];
		for(int i = 0; i < allCoordinates.size(); i++){
			temp[i] = allCoordinates.get(i);
		}
		return temp;
	}