public class StereoPair
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
StereoPair.Completion
Identifies the possible states of stereo pair completion
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ID
CVS ID
|
Constructor and Description |
---|
StereoPair(java.lang.String description,
float latitude,
float longitude)
Create a new stereo pair object with the specified description.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAnaglyph()
Get the product ID for the Anaglyph, null if there is none.
|
StereoPair.Completion |
getCompletion()
Get the state of the pair.
|
java.lang.String |
getDescription()
Get the description for the pair.
|
java.lang.String |
getDtm()
Get the product ID for the DTM, null if there is none.
|
java.lang.Float |
getIncidenceAngle1()
Get the incidence angle of the 1st half.
|
java.lang.Float |
getIncidenceAngle2()
Get the incidence angle of the 2nd half.
|
java.lang.Float |
getIncidenceDelta()
Get the difference (absolute value) between the incidence angles,
or null if either is null.
|
boolean |
getIsRetired1()
Get the retired state of the 1st half.
|
boolean |
getIsRetired2()
Get the retired state of the 2nd half.
|
float |
getLatitude()
Get the center latitude in degrees
|
float |
getLongitude()
Get the center longitude in degrees (0-360)
|
java.lang.String |
getObservationID1()
Get the observation ID of the first half.
|
java.lang.String |
getObservationID2()
Get the observation ID of the second half.
|
java.lang.Float |
getRollAngle1()
Get the roll angle of the 1st half.
|
java.lang.Float |
getRollAngle2()
Get the roll angle of the 2nd half.
|
java.lang.Float |
getRollDelta()
Get the difference (absolute value) between the roll angles,
or null if either is null.
|
java.lang.Double |
getStereoAngle()
Get the stereo separation angle or null if it is not defined
|
int |
getSuggestionID1()
Get the suggestion ID of the 1st half.
|
int |
getSuggestionID2()
Get the suggestion ID of the 2nd half.
|
java.lang.Double |
getTimeDelta()
Get the difference (absolute value) in time between the halves, in decimal
days.
|
boolean |
isAnaglyph()
True if pair has produced an anaglyph
|
boolean |
isDtm()
True if the pair has produced a DTM
|
void |
setHalf(StereoHalf half,
int idx)
Update the pair with a new half.
|
void |
setLatitude(float latitude)
Set the center latitude
|
void |
setLongitude(float longitude)
Set the center longitude
|
java.lang.String |
toString() |
public static final java.lang.String ID
public StereoPair(java.lang.String description, float latitude, float longitude)
description
- Short description of the pairlatitude
- center latitude in degreeslongitude
- center longitude in degreespublic java.lang.String toString()
toString
in class java.lang.Object
public float getLatitude()
public void setLatitude(float latitude)
latitude
- degreespublic float getLongitude()
public void setLongitude(float longitude)
longitude
- degreespublic java.lang.String getObservationID1()
public java.lang.String getObservationID2()
public int getSuggestionID1()
public int getSuggestionID2()
public java.lang.Float getRollAngle1()
public java.lang.Float getRollAngle2()
public java.lang.Float getIncidenceAngle1()
public java.lang.Float getIncidenceAngle2()
public boolean getIsRetired1()
public boolean getIsRetired2()
public void setHalf(StereoHalf half, int idx)
half
- The halfidx
- The index, must be 0 (first) or 1 (second).public java.lang.String getDescription()
public java.lang.Double getTimeDelta()
public java.lang.Float getIncidenceDelta()
public java.lang.Float getRollDelta()
public StereoPair.Completion getCompletion()
public java.lang.String getAnaglyph()
public java.lang.String getDtm()
public java.lang.Double getStereoAngle()
public boolean isDtm()
public boolean isAnaglyph()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright \ (C) Arizona Board of Regents on behalf of the \ Planetary Image Research Laboratory, Lunar and \ Planetary Laboratory at the University of Arizona