public class GridShape extends Object
Morphing instance to
convert a ra or de circle into a Shape object. Note that the
Morphing instance should retrieve null if a ra/de point is
not visible, i.e. on the wrong hemisphere.getRa(double, jview.CoordinateTransforming) or getDe(double, jview.CoordinateTransforming) methods return newly allocated shapes,
thus this class can be re-used.| Modifier and Type | Field and Description |
|---|---|
private static double |
STEP
The step-size in degrees.
|
| Constructor and Description |
|---|
GridShape() |
| Modifier and Type | Method and Description |
|---|---|
static Shape |
getDe(double de0,
CoordinateTransforming radec)
Sets a constant dec.
|
static Shape |
getRa(double ra0,
CoordinateTransforming radec)
Sets a constant ra.
|
private static final double STEP
public static Shape getRa(double ra0, CoordinateTransforming radec)
STEP
degree steps. It is not closed.public static Shape getDe(double de0, CoordinateTransforming radec)
STEP/cos(de) degree steps. It is closed.