public static enum OrientationParameters.AzimuthParameter extends java.lang.Enum<OrientationParameters.AzimuthParameter>
Enum Constant and Description |
---|
A12
A parameter value associated with a 0- (or 360-) degree angle.
|
A3
A parameter value associated with a 90-degree angle.
|
A6
A parameter value associated with a 180-degree angle.
|
A9
A parameter value associated with a 270-degree angle.
|
Modifier and Type | Field and Description |
---|---|
int |
index
An index for an azimuthal parameter value (3, 6, 9, or 12),
corresponding to an angle on a clock face.
|
Modifier and Type | Method and Description |
---|---|
static OrientationParameters.AzimuthParameter |
read(int index)
Returns an azimuth parameter for a specified index.
|
static OrientationParameters.AzimuthParameter |
read(java.lang.String index)
Parses a string as an integer and return an azimuth parameter
with the corresponding index.
|
double[] |
rotateForP1(double[] tensorElements)
Rotates a tensor from a P1=this system to a P1=12 system.
|
Vec3 |
rotateForP1(Vec3 vector)
Rotates a vector from a P1=this system to a P1=12 system.
|
double |
rotateSampleAzimuthForP3(double azimuthDegrees)
Rotates a sample azimuth from a P3=this system to a P3=12 system.
|
static OrientationParameters.AzimuthParameter |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OrientationParameters.AzimuthParameter[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OrientationParameters.AzimuthParameter A3
public static final OrientationParameters.AzimuthParameter A6
public static final OrientationParameters.AzimuthParameter A9
public static final OrientationParameters.AzimuthParameter A12
public final int index
public static OrientationParameters.AzimuthParameter[] values()
for (OrientationParameters.AzimuthParameter c : OrientationParameters.AzimuthParameter.values()) System.out.println(c);
public static OrientationParameters.AzimuthParameter valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static OrientationParameters.AzimuthParameter read(java.lang.String index)
index
- a string consisting of "3", "6", "9", or "12",
with optional surrounding whitespacepublic static OrientationParameters.AzimuthParameter read(int index)
index
- 3, 6, 9, or 12public Vec3 rotateForP1(Vec3 vector)
vector
- a vector in a P1=this systempublic double[] rotateForP1(double[] tensorElements)
tensorElements
- a tensor in a P1=this systempublic double rotateSampleAzimuthForP3(double azimuthDegrees)
azimuthDegrees
- a sample azimuth in a P3=this system