/** * Gets a specified row as a fault trace * * @param row */ public LocationList getRowAsTrace(int row) { List<Location> locs = Lists.newArrayList(); for (int col = 0; col < getNumCols(); col++) { locs.add(get(row, col)); } return LocationList.create(locs); }
@Override public LocationList getEvenlyDiscritizedListOfLocsOnSurface() { return LocationList.create(this); // LocationList locList = new LocationList(); // Iterator<Location> it = listIterator(); // while(it.hasNext()) locList.add((Location)it.next()); // return locList; }