View Javadoc

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