Package edu.sc.seis.TauP
Class AbstractPathSegment
java.lang.Object
edu.sc.seis.TauP.AbstractPathSegment
- Direct Known Subclasses:
ArrivalPathSegment,WavefrontPathSegment
Part of either the path of a seismic phase, or portion of a wavefront.
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractPathSegment(List<TimeDist> path, boolean isPWave, String segmentName, TimeDist prevEnd, int segmentIndex, int totalNumSegments, SeismicPhase phase) -
Method Summary
Modifier and TypeMethodDescriptioncom.google.gson.JsonObjectcom.google.gson.JsonObjectasJsonObject(Arrival arrival) abstract StringgetPath()getPathPoint(int i) getPhase()intgmtTextLine(TimeDist td, DistDepthRange distDepthRange, String xFormat, String yFormat, boolean withTime, boolean withLatLon, DistanceAxisType distanceAxisType, DepthAxisType depthAxisType) gmtTextLine(TimeDist td, DistDepthRange distDepthRange, String xFormat, String yFormat, boolean withTime, DistanceAxisType distanceAxisType, DepthAxisType depthAxisType) booleanisPWave()static ArrivalPathSegmentlinearInterpPath(ArrivalPathSegment segPath, double maxPathInc, double maxPathTime) trimDuplicates(List<TimeDist> tdList) voidwriteGMTText(PrintWriter pw, DistDepthRange distDepthRange, String xFormat, String yFormat, boolean withTime, boolean withLatLon) voidvoidwriteSVGCartesian(PrintWriter pw, double minPolylineSize)
-
Constructor Details
-
AbstractPathSegment
public AbstractPathSegment(List<TimeDist> path, boolean isPWave, String segmentName, TimeDist prevEnd, int segmentIndex, int totalNumSegments, SeismicPhase phase)
-
-
Method Details
-
linearInterpPath
public static ArrivalPathSegment linearInterpPath(ArrivalPathSegment segPath, double maxPathInc, double maxPathTime) -
trimDuplicates
-
getPathEnd
-
getPathStart
-
negativeDistance
-
getPath
-
getPhase
-
isPWave
public boolean isPWave() -
getWavetypeStr
-
getSegmentIndex
public int getSegmentIndex() -
getSegmentName
-
getPathPoint
-
description
-
asJsonObject
public com.google.gson.JsonObject asJsonObject() -
asJsonObject
-
getCssClasses
-
writeSVGCartesian
-
writeSVGCartesian
-
gmtTextLine
public String gmtTextLine(TimeDist td, DistDepthRange distDepthRange, String xFormat, String yFormat, boolean withTime, DistanceAxisType distanceAxisType, DepthAxisType depthAxisType) -
gmtTextLine
public String gmtTextLine(TimeDist td, DistDepthRange distDepthRange, String xFormat, String yFormat, boolean withTime, boolean withLatLon, DistanceAxisType distanceAxisType, DepthAxisType depthAxisType) -
writeGMTText
public void writeGMTText(PrintWriter pw, DistDepthRange distDepthRange, String xFormat, String yFormat, boolean withTime, boolean withLatLon)
-