public abstract class SkyviewProjection extends Object implements Projection
Modifier | Constructor and Description |
---|---|
protected |
SkyviewProjection(skyview.geometry.Projecter projecter,
Shape shape,
String name,
String description)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getProjectionDescription()
Returns a short description of the projection.
|
String |
getProjectionName()
Returns the projection name.
|
Shape |
getProjectionShape()
Returns the shape which encloses all the plane positions to which
legal sky coordinates can be projected.
|
skyview.geometry.Projecter |
getSkyviewProjecter()
Returns the projecter object used by this SkyviewProjection.
|
boolean |
project(double rx,
double ry,
double rz,
Point2D.Double pos)
Transforms a sky position to a plane position.
|
boolean |
unproject(Point2D.Double pos,
double[] r3)
Transforms a plane position to a sky position.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createAspect, cursorRotate, getFov, isContinuous, isContinuousLine, projRotate, useRanges
public String getProjectionName()
Projection
getProjectionName
in interface Projection
public String getProjectionDescription()
Projection
getProjectionDescription
in interface Projection
public Shape getProjectionShape()
Projection
getProjectionShape
in interface Projection
public boolean project(double rx, double ry, double rz, Point2D.Double pos)
Projection
project
in interface Projection
rx
- normalised 3D X coordinatery
- normalised 3D Y coordinaterz
- normalised 3D Z coordinatepos
- point object into which projected dimensionless X,Y
coordinates will be written on successpublic boolean unproject(Point2D.Double pos, double[] r3)
Projection
unproject
in interface Projection
pos
- contains dimensionless X,Y coordinates of plane positionr3
- 3-element array into which normalised X,Y,Z sky coordinates
will be written on successpublic skyview.geometry.Projecter getSkyviewProjecter()
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.