|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.starlink.ttools.plot2.geom.CubeAspect
public class CubeAspect
Defines the data range covered by a CubeSurface.
Constructor Summary | |
---|---|
CubeAspect(double[] xlimits,
double[] ylimits,
double[] zlimits,
double[] rotmat,
double zoom,
double xoff,
double yoff)
Constructor. |
Method Summary | |
---|---|
double[][] |
getLimits()
Returns 3D data bounds. |
double |
getOffsetX()
Return graphics X offset. |
double |
getOffsetY()
Return graphics Y offset. |
double[] |
getRotation()
Returns rotation matrix. |
double |
getZoom()
Returns zoom factor. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CubeAspect(double[] xlimits, double[] ylimits, double[] zlimits, double[] rotmat, double zoom, double xoff, double yoff)
xlimits
- 2-element array giving (min,max) X data coordinatesylimits
- 2-element array giving (min,max) Y data coordinateszlimits
- 2-element array giving (min,max) Z data coordinatesrotmat
- 9-element rotation matrix applied before viewingzoom
- zoom factor, 1 means cube roughly fills plot boundsxoff
- graphics X offset in pixels, 0 means centred in plot boundsyoff
- graphics Y offset in pixels, 0 means centred in plot boundsMethod Detail |
---|
public double[] getRotation()
public double getZoom()
public double getOffsetX()
public double getOffsetY()
public double[][] getLimits()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |