Package uk.ac.starlink.ttools.plot2.task
Class CoordValue
java.lang.Object
uk.ac.starlink.ttools.plot2.task.CoordValue
Aggregates a coordinate specification and the expression strings
that give its values.
- Since:
- 22 Nov 2013
- Author:
- Mark Taylor
-
Constructor Summary
ConstructorsConstructorDescriptionCoordValue
(Coord coord, String[] exprs, uk.ac.starlink.table.DomainMapper[] dms) Constructor. -
Method Summary
-
Constructor Details
-
CoordValue
Constructor.- Parameters:
coord
- coordinate definitionexprs
- array of user-supplied expressions, one for each input value associated with the coordinatedms
- array of DomainMappers, one for each input value; individual elements may be null if no DomainMapper is known
-
-
Method Details
-
getCoord
Returns the coordinate definition.- Returns:
- coord
-
getExpressions
Returns the user-supplied expressions for the coordinate's values.The returned array has coord.getInputs().length elements.
- Returns:
- expressions array
-
getDomainMappers
public uk.ac.starlink.table.DomainMapper[] getDomainMappers()Returns the domain mappers used to decode the coordinate's input values, where known. Note that individual elements may be null if the domain mapper is not known; in this case downstream code will need to come up with a plausible value.The returned array has coord.getInputs().length elements.
- Returns:
- domain mapper array
-