uk.ac.starlink.ttools.plot2.geom
Class TimeAspect

java.lang.Object
  extended by uk.ac.starlink.ttools.plot2.geom.TimeAspect

public class TimeAspect
extends Object

Defines the data range covered by a TimeSurface.

Since:
15 Aug 2013
Author:
Mark Taylor

Constructor Summary
TimeAspect(double[] tlimits, double[] ylimits)
          Constructor.
 
Method Summary
 double getTMax()
          Returns time data coordinate upper bound.
 double getTMin()
          Returns time data coordinate lower bound.
 double getYMax()
          Returns Y data coordinate upper bound.
 double getYMin()
          Returns Y data coordinate lower bound.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimeAspect

public TimeAspect(double[] tlimits,
                  double[] ylimits)
Constructor.

Parameters:
tlimits - 2-element array giving (min,max) time data coordinates, in seconds since the Unix epoch
ylimits - 2-element array giving (min,max) Y data doordinates
Method Detail

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


Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.