Package uk.ac.starlink.ttools.plot2.geom
Class TimeAspect
java.lang.Object
uk.ac.starlink.ttools.plot2.geom.TimeAspect
Defines the data range covered by a TimeSurface.
- Since:
- 15 Aug 2013
- Author:
- Mark Taylor
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
TimeAspect
public TimeAspect(double[] tlimits, double[] ylimits) Constructor.- Parameters:
tlimits
- 2-element array giving (min,max) time data coordinates, in seconds since the Unix epochylimits
- 2-element array giving (min,max) Y data doordinates
-
-
Method Details
-
getTMin
public double getTMin()Returns time data coordinate lower bound.- Returns:
- time minimum in unix seconds
-
getTMax
public double getTMax()Returns time data coordinate upper bound.- Returns:
- time maximum in unix seconds
-
getYMin
public double getYMin()Returns Y data coordinate lower bound.- Returns:
- y min
-
getYMax
public double getYMax()Returns Y data coordinate upper bound.- Returns:
- y max
-