public class AstroCoords extends Object
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 and Description |
---|
AstroCoords()
Constructor.
|
AstroCoords(String[] axisNames)
Constructor which allows specification of axis names.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public AstroCoords()
public AstroCoords(String[] axisNames)
axisNames
- array of names for each axis in the coordinate
system of the corresponding Region
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()
Copyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.