public class SkyAspect extends Object
| Constructor and Description |
|---|
SkyAspect(double[] rotmat,
double zoom,
double xoff,
double yoff)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(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 static double[] unitMatrix(boolean reflect)
reflect - true for reflectionCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.