public abstract class FixedSkyviewProjection extends SkyviewProjection
Modifier and Type | Field and Description |
---|---|
static FixedSkyviewProjection |
AIT
Aitoff projection, lon=0 at center.
|
static FixedSkyviewProjection |
AIT0
Aitoff projection, lon=0 at edge.
|
static FixedSkyviewProjection |
CAR0
Cartesian projection, lon=0 at edge.
|
static FixedSkyviewProjection |
CAR1
Cartesian projection, lon=0 at center.
|
static FixedSkyviewProjection |
TAN
Gnomonic projection.
|
Modifier | Constructor and Description |
---|---|
protected |
FixedSkyviewProjection(skyview.geometry.Projecter projecter,
Shape shape,
String name,
String description)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
SkyAspect |
createAspect(boolean reflect,
double[] r3,
double radiusRad,
Range[] ranges)
Creates a SkyAspect from configuration information.
|
double[] |
cursorRotate(double[] rotmat,
Point2D.Double pos0,
Point2D.Double pos1)
Returns null - rotation not implemented.
|
protected abstract double[] |
getFixedRotation(boolean reflect)
Returns the fixed rotation matrix to use for this projection.
|
SkyFov |
getFov(SkySurface surf)
Returns the field of view represented by this aspect.
|
double[] |
projRotate(double[] rotmat,
Point2D.Double pos0,
Point2D.Double pos1)
Returns null - rotation not implemented.
|
boolean |
useRanges(boolean reflect,
double[] r3,
double radiusRad)
Returns false - ranging not used.
|
getProjectionDescription, getProjectionName, getProjectionShape, getSkyviewProjecter, project, unproject
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isContinuous, isContinuousLine
public static final FixedSkyviewProjection AIT
public static final FixedSkyviewProjection AIT0
public static final FixedSkyviewProjection CAR1
public static final FixedSkyviewProjection CAR0
public static final FixedSkyviewProjection TAN
protected abstract double[] getFixedRotation(boolean reflect)
reflect
- true to reflect longitudepublic double[] cursorRotate(double[] rotmat, Point2D.Double pos0, Point2D.Double pos1)
rotmat
- initial rotation matrixpos0
- initial cursor positionpos1
- destination cursor positionpublic double[] projRotate(double[] rotmat, Point2D.Double pos0, Point2D.Double pos1)
rotmat
- initial rotation matrixpos0
- initial projected positionpos1
- destination projected positionpublic boolean useRanges(boolean reflect, double[] r3, double radiusRad)
reflect
- whether requested aspect will be reflectedr3
- central position of field of view (may be null)radiusRad
- radius of field of view (may be NaN)SurfaceFactory.readRanges(P, uk.ac.starlink.ttools.plot2.PlotLayer[], uk.ac.starlink.ttools.plot2.data.DataStore)
public SkyAspect createAspect(boolean reflect, double[] r3, double radiusRad, Range[] ranges)
Projection
reflect
- whether requested aspect will be reflectedr3
- central position of field of view (may be null)radiusRad
- radius of field of view (may be NaN)ranges
- definite ranges for normalised X,Y,Z coordinates
acquired from dataSurfaceFactory.createAspect(P, uk.ac.starlink.ttools.plot2.config.ConfigMap, uk.ac.starlink.ttools.plot.Range[])
public SkyFov getFov(SkySurface surf)
Projection
surf
- sky surface, which must be set up using this projectionCopyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.