* @param queryArgs (in/out) describes the query arguments
* @param region (in) describes the query region (center and radius range)
*/
public void setRegionArgs(QueryArgs queryArgs, CoordinateRadius region) {
Coordinates coords = region.getCenterPosition();
RowCoordinates rowCoordinates = _entry.getRowCoordinates();
String equinoxStr = (String) queryArgs.getParamValue(SkycatConfigEntry.EQUINOX);
double equinox = _getEquinox(queryArgs);
if (rowCoordinates.isWCS()) {
WorldCoords pos = (WorldCoords) coords;
String[] radec = pos.format(equinox);
queryArgs.setParamValue(SkycatConfigEntry.RA, radec[0]);
queryArgs.setParamValue(SkycatConfigEntry.DEC, radec[1]);
queryArgs.setParamValue(SkycatConfigEntry.EQUINOX, equinoxStr);
queryArgs.setParamValue(SkycatConfigEntry.MIN_RADIUS, region.getMinRadius());
queryArgs.setParamValue(SkycatConfigEntry.MAX_RADIUS, region.getMaxRadius());
queryArgs.setParamValue(SkycatConfigEntry.WIDTH, region.getWidth());
queryArgs.setParamValue(SkycatConfigEntry.HEIGHT, region.getHeight());
} else if (rowCoordinates.isPix()) {
ImageCoords pos = (ImageCoords) coords;
queryArgs.setParamValue(SkycatConfigEntry.X, pos.getX());
queryArgs.setParamValue(SkycatConfigEntry.Y, pos.getY());
queryArgs.setParamValue(SkycatConfigEntry.MIN_RADIUS, region.getMinRadius());
queryArgs.setParamValue(SkycatConfigEntry.MAX_RADIUS, region.getMaxRadius());