

PREV CLASS NEXT CLASS  FRAMES NO FRAMES  
SUMMARY: NESTED  FIELD  CONSTR  METHOD  DETAIL: FIELD  CONSTR  METHOD 
public interface RuptureSurface
This interface defines a rupture surfaces. This does not specify how a rupture surface is to be represented (in order to maintan flexibility), but rather specifies what information a rupture surface needs to provide (see method descriptions for details).
Method Summary  

RuptureSurface 
copyShallow()
Returns a shallow copy of this RuptureSurface 
double 
getArea()
This returns the surface area in kmsq 
double 
getAveDip()
Average dip (degrees) of rupture surface 
double 
getAveDipDirection()
Average dip direction (degrees) of rupture surface 
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. 
double 
getAveLength()
This returns the average length of the surface in km 
double 
getAveRupTopDepth()
Average depth (km) to top of rupture (always a positive number) 
double 
getAveStrike()
Average strike (degrees) of rupture surface 
double 
getAveWidth()
Average downdip width (km) of rupture surface 
double 
getDistanceJB(Location siteLoc)
This returns distance JB (shortest horz distance in km to surface projection of rupture), assuming the location has zero depth (for numerical expediency). 
double 
getDistanceRup(Location siteLoc)
This returns rupture distance (kms to closest point on the rupture surface), assuming the location has zero depth (for numerical expediency). 
double 
getDistanceSeis(Location siteLoc)
This returns "distance seis" (shortest distance in km to point on rupture deeper than 3 km), assuming the location has zero depth (for numerical expediency). 
double 
getDistanceX(Location siteLoc)
This returns distance X (the shortest distance in km to the rupture upper edge extended to infinity), where values >= 0 are on the hanging wall and values < 0 are on the foot wall. 
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()
This returns a list of locations that are evenly spread (at least approximately) over the surface perimeter, with a spacing given by what's returned by the getGridSpacing() method. 
FaultTrace 
getEvenlyDiscritizedUpperEdge()
This returns a list of locations that are evenly spread along the upper edge of the surface. 
Location 
getFirstLocOnUpperEdge()
This returns the first location on the upper edge of the surface 
double 
getFractionOfSurfaceInRegion(Region region)
The is returns the fraction of this rupture surface that's inside the given region. 
String 
getInfo()
This is a string giving brief info about the surface (e.g., used in GUIs) 
Location 
getLastLocOnUpperEdge()
This returns the last location on the upper edge of the surface 
ListIterator<Location> 
getLocationsIterator()
This returns what's given by getEvenlyDiscritizedListOfLocsOnSurface() as an interator 
double 
getMinDistance(RuptureSurface surface)
Calculate the minimum distance of this rupture surface to the given surface 
RuptureSurface 
getMoved(LocationVector v)
Returns a new RuptureSurface instance that has been moved by the given vector 
LocationList 
getPerimeter()
Get a list of locations that constitutes the perimeter of the surface (not necessarily evenly spaced) 
FaultTrace 
getUpperEdge()
This returns the upper edge of the rupture surface (where the locations are not necessarily equally spaced). 
boolean 
isPointSurface()
This indicates whether this is a point surface 
Method Detail 

double getAveDip()
double getAveStrike()
double getAveLength()
double getAveWidth()
double getArea()
LocationList getEvenlyDiscritizedListOfLocsOnSurface()
ListIterator<Location> getLocationsIterator()
LocationList getEvenlyDiscritizedPerimeter()
FaultTrace getEvenlyDiscritizedUpperEdge()
LocationList getEvenlyDiscritizedLowerEdge()
double getAveGridSpacing()
double getDistanceRup(Location siteLoc)
double getDistanceJB(Location siteLoc)
double getDistanceSeis(Location siteLoc)
double getDistanceX(Location siteLoc)
double getAveRupTopDepth()
double getAveDipDirection()
FaultTrace getUpperEdge()
LocationList getPerimeter()
Location getFirstLocOnUpperEdge()
Location getLastLocOnUpperEdge()
double getFractionOfSurfaceInRegion(Region region)
region

String getInfo()
boolean isPointSurface()
double getMinDistance(RuptureSurface surface)
surface
 EvenlyGriddedSurface
RuptureSurface getMoved(LocationVector v)
v

RuptureSurface copyShallow()


PREV CLASS NEXT CLASS  FRAMES NO FRAMES  
SUMMARY: NESTED  FIELD  CONSTR  METHOD  DETAIL: FIELD  CONSTR  METHOD 