public class Rotate
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static float |
NINTY_DEGREE_TOLERANCE |
| Constructor and Description |
|---|
Rotate() |
| Modifier and Type | Method and Description |
|---|---|
static double |
dtor(double degree) |
static double |
getRadialAzimuth(Location staLoc,
Location evtLoc) |
static double |
getTransverseAzimuth(Location staLoc,
Location evtLoc) |
static ChannelId |
replaceChannelOrientation(ChannelId chanId,
java.lang.String orientation) |
static void |
rotate(float[] x,
float[] y,
java.awt.geom.AffineTransform affine)
Performs the rotation from the given matrix.
|
static void |
rotate(float[] x,
float[] y,
double radians)
Rotates the x and y arrays by the given angle in radians.
|
static void |
rotate(float[] x,
float[] y,
float[] z,
double theta,
double phi) |
static float[][] |
rotate(LocalSeismogramImpl x,
LocalSeismogramImpl y,
double radians)
rotates the two seismograms by the given angle.
|
static float[][] |
rotateGCP(LocalSeismogramImpl x,
LocalSeismogramImpl y,
Location staLoc,
Location evtLoc)
rotates the two seismograms to the great circle path transverse (X) and
radial (Y).
|
static LocalSeismogramImpl[] |
rotateGCP(LocalSeismogramImpl x,
Orientation xOrient,
LocalSeismogramImpl y,
Orientation yOrient,
Location staLoc,
Location evtLoc,
java.lang.String transverseCode,
java.lang.String radialCode) |
static double |
rtod(double radian) |
public static final float NINTY_DEGREE_TOLERANCE
public static LocalSeismogramImpl[] rotateGCP(LocalSeismogramImpl x, Orientation xOrient, LocalSeismogramImpl y, Orientation yOrient, Location staLoc, Location evtLoc, java.lang.String transverseCode, java.lang.String radialCode) throws FissuresException, IncompatibleSeismograms
public static ChannelId replaceChannelOrientation(ChannelId chanId, java.lang.String orientation)
public static float[][] rotateGCP(LocalSeismogramImpl x, LocalSeismogramImpl y, Location staLoc, Location evtLoc) throws FissuresException, IncompatibleSeismograms
public static float[][] rotate(LocalSeismogramImpl x, LocalSeismogramImpl y, double radians) throws FissuresException, IncompatibleSeismograms
public static void rotate(float[] x,
float[] y,
double radians)
throws IncompatibleSeismograms
IncompatibleSeismogramspublic static void rotate(float[] x,
float[] y,
java.awt.geom.AffineTransform affine)
throws IncompatibleSeismograms
IncompatibleSeismogramspublic static void rotate(float[] x,
float[] y,
float[] z,
double theta,
double phi)
public static double dtor(double degree)
public static double rtod(double radian)