public class AstroGridGateway extends StarChartLoader
cos90ap, cosdp, epoch, equinox, sin90ap, sindp, sinFieldRadius
Modifier and Type | Method and Description |
---|---|
boolean |
assignConeServiceURI(java.lang.String uri)
Returns false if the URI is not one for which this class can process the
results.
|
java.lang.String[] |
getAcceptableConeServiceURIs()
Get an array of URIs for which this class is able to process the
response to extract Star objects.
|
java.lang.String |
getConeServiceURI()
Find out which VO service is being used for searchCone ().
|
static AstroGridGateway |
getInstance()
Get a reference to the gateway object (singleton).
|
SkyPoint |
getPositionOfNamedObject(java.lang.String name)
Uses the Sesame service (see
http://cdsweb.u-strasbg.fr/doc/sesame.htx) via AstroGrid.
|
boolean |
isAvailable()
Returns true if manages to connect to a running instance of AstroGrid
RunTime.
|
java.util.List<Star> |
searchCone(SkyPoint centre,
double radiusDegrees)
Search a cone in the sky of given angular radius about the given
direction.
|
calculateChartCoordinates, getEpoch, getEquinox, initialiseChartCoordinates
public static AstroGridGateway getInstance()
public boolean isAvailable()
public SkyPoint getPositionOfNamedObject(java.lang.String name)
public java.lang.String[] getAcceptableConeServiceURIs()
public java.lang.String getConeServiceURI()
public boolean assignConeServiceURI(java.lang.String uri)
public java.util.List<Star> searchCone(SkyPoint centre, double radiusDegrees)