View Javadoc

1   // Copyright 2004, FreeHEP.
2   package hep.wired.feature;
3   
4   /***
5    * Can translate in 2D.
6    *
7    * @author Mark Donszelmann
8    * @version $Id: Translateable2D.java 2073 2005-07-20 06:21:56Z duns $
9    */
10  
11  public interface Translateable2D extends Translateable {
12      
13      /***
14       * Translate over tx and ty.
15       */
16      public void translate(double tx, double ty);
17  
18      /***
19       * Set translate to tx and ty.
20       */
21      public void setTranslate(double tx, double ty);
22  
23      /***
24       * Return current translation
25       */
26      public double[] getTranslate();
27  }