public interface GriddedSurface extends RuptureSurface
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Deprecated.
Empties the list of all data.
|
boolean |
exist(int row,
int column)
Deprecated.
Check if this grid cell has a java object stored in it.
|
T |
get(int row,
int column)
Deprecated.
Returns the object stored in this two dimensional grid cell.
|
ListIterator<T> |
getAllByColumnsIterator()
Deprecated.
This returns an iterator of all the Java objects stored in this two
dimensional matrix iterating over all rows within a column and then moving
to the next column until iteration has been done over all rows and all
columns.
|
ListIterator<T> |
getAllByRowsIterator()
Deprecated.
This returns an iterator of all the Java objects stored in this two
dimensional matrix iterating over all columns within a rows and then moving
to the next column until iteration has been done over all columns and all
rows.
|
double |
getAveGridSpacing()
This returns the average grid spacing used to define the discretization
used in what's returned by the methods here that contain "Discretized" in
their names.
|
ListIterator<T> |
getColumnIterator(int row)
Deprecated.
Returns an ordered list iterator over all columns associated with one row.
|
LocationList |
getEvenlyDiscritizedListOfLocsOnSurface()
This returns a list of locations that are evenly spread (at least
approximately) over the rupture surface, with a spacing given by what's
returned by the getGridSpacing() method.
|
LocationList |
getEvenlyDiscritizedLowerEdge()
This returns a list of locations that are evenly spread along the lower
edge of the surface.
|
LocationList |
getEvenlyDiscritizedPerimeter()
Deprecated.
|
LocationList |
getEvenlyDiscritizedUpperEdge()
This returns a list of locations that are evenly spread along the upper
edge of the surface.
|
Location |
getFirstLocOnUpperEdge()
Deprecated.
|
double |
getGridSpacingAlongStrike()
Returns the grid spacing along strike
|
double |
getGridSpacingDownDip()
returns the grid spacing down dip
|
Location |
getLastLocOnUpperEdge()
Deprecated.
|
Location |
getLocation(int row,
int column)
gets the location from the 2D container
|
int |
getNumCols()
Deprecated.
Returns the number of columns in this two dimensional container.
|
int |
getNumRows()
Deprecated.
Returns the number of rows int this two dimensional container.
|
LocationList |
getPerimeter()
Get a list of locations that constitutes the perimeter of the surface (not
necessarily evenly spaced)
|
ListIterator<T> |
getRowIterator(int column)
Deprecated.
Returns an ordered list iterator over all rows associated with one column.
|
LocationList |
getUpperEdge()
This returns the upper edge of the rupture surface (where the locations are
not necessarily equally spaced).
|
void |
set(int row,
int column,
T obj)
Deprecated.
Places a Java object into one cell in this two dimensional matrix specified
by the row and column indices.
|
void |
setName(String name)
Deprecated.
Every container has a name associated with it to distinguish it from other
container instances.
|
long |
size()
Deprecated.
returns the number of cells in this two dimensional matrix, i.e.
|
forEach, iterator, spliteratorarea, centroid, depth, dip, dipDirection, dipRad, distanceTo, length, strike, widthdouble getGridSpacingAlongStrike()
double getGridSpacingDownDip()
Location getLocation(int row, int column)
row - indexcolumn - indexdouble getAveGridSpacing()
LocationList getEvenlyDiscritizedListOfLocsOnSurface()
@Deprecated LocationList getEvenlyDiscritizedPerimeter()
LocationList getEvenlyDiscritizedUpperEdge()
LocationList getEvenlyDiscritizedLowerEdge()
LocationList getUpperEdge()
LocationList getPerimeter()
@Deprecated Location getFirstLocOnUpperEdge()
@Deprecated Location getLastLocOnUpperEdge()
int getNumRows()
void setName(String name)
name - int getNumCols()
void clear()
boolean exist(int row,
int column)
row - The x coordinate of the cell.column - The y coordinate of the cell.long size()
void set(int row,
int column,
T obj)
throws ArrayIndexOutOfBoundsException,
ClassCastException
row - The x coordinate of the cell.column - The y coordinate of the cell.obj - The Java object to place in the cell.ArrayIndexOutOfBoundsException - Thrown if the row and column are
beyond the two dimensional matrix range.ClassCastException - Thrown by subclasses that expect a particular
type of Java object.T get(int row,
int column)
row - The x coordinate of the cell.column - The y coordinate of the cell.ListIterator<T> getColumnIterator(int row) throws ArrayIndexOutOfBoundsException
row - The x coordinate of the cell.ArrayIndexOutOfBoundsException - Thrown if the row is beyond the
two dimensional matrix range.ListIterator<T> getRowIterator(int column) throws ArrayIndexOutOfBoundsException
column - The y coordinate of the cell.ArrayIndexOutOfBoundsException - Thrown if the column is beyond
the two dimensional matrix range.ListIterator<T> getAllByColumnsIterator()
ListIterator<T> getAllByRowsIterator()