|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<Location>
org.opensha.commons.geo.LocationList
org.opensha.sha.faultSurface.FaultTrace
public class FaultTrace
Title: FaultTrace
Description: This simply contains a vector (or array) of Location objects representing the top trace of a fault (with non-zero depth if it buried).
| Field Summary |
|---|
| Fields inherited from class org.opensha.commons.geo.LocationList |
|---|
XML_METADATA_NAME |
| Fields inherited from class java.util.AbstractList |
|---|
modCount |
| Constructor Summary | |
|---|---|
FaultTrace(String faultName)
|
|
| Method Summary | |
|---|---|
FaultTrace |
clone()
Overriden to return a deep copy of this LocationList. |
double |
getAveStrike()
This returns the average strike (weight average by length). |
double |
getDipDirection()
This returns the dip direction (between 0 and 360 degrees) defined by stike direction + 90. |
double |
getMinDistance(FaultTrace faultTrace,
double discrInterval)
|
String |
getName()
Returns the name of this object |
int |
getNumLocations()
|
double |
getStrikeDirection()
This returns the strike direction (between 0 and 360 degrees) defined by the first and last points only. |
double |
getStrikeDirectionDifference(FaultTrace trace)
This returns the change in strike direction in going from this trace to the one passed in (input_trace_azimuth-this_azimuth), where this accounts the change in sign for azimuths at 180 degrees. |
double |
getTraceLength()
This returns the total fault-trace length in km |
void |
setName(String faultName)
|
String |
toString()
|
| Methods inherited from class org.opensha.commons.geo.LocationList |
|---|
equals, first, fromXMLMetadata, hashCode, last, minDistToLine, minDistToLocation, reverse, split, subList, toPath, toXMLMetadata, toXMLMetadata, unmodifiableList |
| Methods inherited from class java.util.ArrayList |
|---|
add, add, addAll, addAll, clear, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize |
| Methods inherited from class java.util.AbstractList |
|---|
iterator, listIterator, listIterator |
| Methods inherited from class java.util.AbstractCollection |
|---|
containsAll, removeAll, retainAll |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.List |
|---|
containsAll, iterator, listIterator, listIterator, removeAll, retainAll |
| Constructor Detail |
|---|
public FaultTrace(String faultName)
| Method Detail |
|---|
public void setName(String faultName)
public String getName()
Named
getName in interface Namedpublic int getNumLocations()
public double getTraceLength()
public double getAveStrike()
getStrikeDirection(), while
providing almost identical results (typically ~0.08 degrees). See
StrikeDirectionMethods for more
information.
public double getStrikeDirection()
getAveStrike() and returns almost identical results,
typically ~0.08 degrees. See
StrikeDirectionMethods for more
information.
public double getDipDirection()
getStrikeDirectionpublic double getStrikeDirectionDifference(FaultTrace trace)
public double getMinDistance(FaultTrace faultTrace,
double discrInterval)
public String toString()
toString in class LocationListpublic FaultTrace clone()
LocationListLocationList.
clone in class LocationList
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||