public class CubeAspect extends Object
| Constructor and Description | 
|---|
CubeAspect(double[] xlimits,
          double[] ylimits,
          double[] zlimits,
          double[] rotmat,
          double zoom,
          double xoff,
          double yoff)
Constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
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. 
 | 
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 boundspublic double[] getRotation()
public double getZoom()
public double getOffsetX()
public double getOffsetY()
public double[][] getLimits()
Copyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.