public class SkyAspect
extends java.lang.Object
Constructor | Description |
---|---|
SkyAspect(double[] rotmat,
double zoom,
double xoff,
double yoff) |
Constructor.
|
Modifier and Type | Method | Description |
---|---|---|
boolean |
equals(java.lang.Object o) |
|
double |
getOffsetX() |
Returns the offset in the graphical X direction of the centre of
the sky drawing from the centre of the available plotting region.
|
double |
getOffsetY() |
Returns the offset in the graphical Y direction of the centre of
the sky drawingn from the centre of the available plotting region.
|
double[] |
getRotation() |
Returns rotation matrix.
|
double |
getZoom() |
Returns zoom factor.
|
int |
hashCode() |
|
static double[] |
unitMatrix(boolean reflect) |
Returns an optionally reflected unit matrix.
|
public SkyAspect(double[] rotmat, double zoom, double xoff, double yoff)
rotmat
- 9-element rotation matrixzoom
- zoom factor; 1 means the sky is approximately
the same size as plot boundsxoff
- x offset of plot centre from plot bounds centre
in dimensionless units; 0 is centredyoff
- y offset of plot centre from plot bounds centre
in dimensionless units; 0 is centredpublic double[] getRotation()
public double getZoom()
public double getOffsetX()
public double getOffsetY()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public static double[] unitMatrix(boolean reflect)
reflect
- true for reflectionCopyright © 2018 Central Laboratory of the Research Councils. All Rights Reserved.