|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.starlink.ast.AstroCoords
public class AstroCoords
Represents an AstroCoords
element from the Space-Time
Coordinate (STC) metadata.
This class is used in place of AST's KeyMap
for user-visible cases where the KeyMap
's purpose is
to represent an AstroCoords
element, since it is
easier for programmers and more typesafe.
Note however that it does not have all the complexity of an STC
AstroCoords
element, only those parts which are required
for its use with the AST Stc*
classes.
Constructor Summary | |
---|---|
AstroCoords()
Constructor. |
|
AstroCoords(String[] axisNames)
Constructor which allows specification of axis names. |
Method Summary | |
---|---|
Region |
getError()
Returns the error region for this coordinate. |
String[] |
getName()
Returns the axis names. |
Region |
getPixSize()
Returns the pixel size for this coordinate. |
Region |
getResolution()
Returns the resolution region for this coordinate. |
Region |
getSize()
Returns the size region for this coordinate. |
Region |
getValue()
Returns the value of this coordinate. |
void |
setError(Region error)
Sets the error region for this coordinate. |
void |
setName(String[] axisNames)
Sets the axis names. |
void |
setPixSize(Region pixSize)
Sets the pixel size for this coordinate. |
void |
setResolution(Region resolution)
Sets the resolution region for this coordinate. |
void |
setSize(Region size)
Sets the size region for this coordinate. |
void |
setValue(Region value)
Sets the value of this coordinate. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AstroCoords()
public AstroCoords(String[] axisNames)
axisNames
- array of names for each axis in the coordinate
system of the corresponding Region
Method Detail |
---|
public void setName(String[] axisNames)
axisNames
- array of names for each axis in the coordinate
system of the corresponding Region
public String[] getName()
Region
public void setValue(Region value)
value
- value regionpublic Region getValue()
public void setError(Region error)
error
- error regionpublic Region getError()
public void setResolution(Region resolution)
resolution
- resolution regionpublic Region getResolution()
public void setSize(Region size)
size
- size regionpublic Region getSize()
public void setPixSize(Region pixSize)
pixSize
- pixel sizepublic Region getPixSize()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |