org.opensha.sha.faultSurface
Class FourPointEvenlyGriddedSurface
java.lang.Object
org.opensha.commons.data.Container2DImpl<Location>
org.opensha.sha.faultSurface.AbstractEvenlyGriddedSurface
org.opensha.sha.faultSurface.FourPointEvenlyGriddedSurface
- All Implemented Interfaces:
- Serializable, Iterable<Location>, Container2D<Location>, Named, EvenlyGriddedSurface, RuptureSurface
public class FourPointEvenlyGriddedSurface
- extends AbstractEvenlyGriddedSurface
This class represents an evenly gridded surface composed of four Locations.
- Author:
- field
- See Also:
- Serialized Form
|
Method Summary |
double |
getAveDip()
Average dip (degrees) of rupture surface |
double |
getAveDipDirection()
Average dip direction (degrees) of rupture surface |
double |
getAveRupTopDepth()
Average depth (km) to top of rupture (always a positive number) |
double |
getAveStrike()
Average strike (degrees) of rupture surface |
| Methods inherited from class org.opensha.sha.faultSurface.AbstractEvenlyGriddedSurface |
getArea, getAveGridSpacing, getAveLength, getAveWidth, getDistanceJB, getDistanceRup, getDistanceSeis, getDistanceX, getEvenlyDiscritizedListOfLocsOnSurface, getEvenlyDiscritizedPerimeter, getEvenlyDiscritizedUpperEdge, getFirstLocOnUpperEdge, getFractionOfSurfaceInRegion, getGridSpacingAlongStrike, getGridSpacingDownDip, getInfo, getLastLocOnUpperEdge, getLocation, getLocationsIterator, getMinDistance, getPerimeter, getRowAsTrace, getUpperEdge, isGridSpacingSame, isPointSurface |
| Methods inherited from class org.opensha.commons.data.Container2DImpl |
checkBounds, clear, exist, get, getAllByColumnsIterator, getAllByRowsIterator, getColumnIterator, getName, getNumCols, getNumRows, getRowIterator, iterator, listIterator, main, set, setName, setNumRowsAndNumCols, size, toJava2D, toString |
| Methods inherited from interface org.opensha.commons.data.Container2D |
clear, exist, get, getAllByColumnsIterator, getAllByRowsIterator, getColumnIterator, getNumCols, getNumRows, getRowIterator, listIterator, set, setName, size, toString |
| Methods inherited from interface org.opensha.commons.data.Named |
getName |
FourPointEvenlyGriddedSurface
public FourPointEvenlyGriddedSurface(Location upperLeft,
Location lowerLeft,
Location lowerRight,
Location upperRight)
- The constructs the surface from the Locations given (counter clockwise
when looking at surface from positive side), where no sub-discretization
is applied. This gridSpacingAlong is the average between the top two and bottom
two points, and likewise for gridSpacingDown.
- Parameters:
upperLeft - lowerLeft - lowerRight - upperRight -
getAveDip
public double getAveDip()
- Description copied from interface:
RuptureSurface
- Average dip (degrees) of rupture surface
- Returns:
getAveDipDirection
public double getAveDipDirection()
- Description copied from interface:
RuptureSurface
- Average dip direction (degrees) of rupture surface
- Returns:
getAveRupTopDepth
public double getAveRupTopDepth()
- Description copied from interface:
RuptureSurface
- Average depth (km) to top of rupture (always a positive number)
- Returns:
getAveStrike
public double getAveStrike()
- Description copied from interface:
RuptureSurface
- Average strike (degrees) of rupture surface
- Returns: