/* Auteur: Nicolas JANEY */ /* nicolas.janey@univ-fcomte.fr */ /* Octobre 2008 */ /* Une classe transformation geometrique translation */ public class Translation3D extends TransformationGeometrique3D { public Translation3D() { super(); } public Translation3D(double x,double y,double z) { super(); c[0][3] = x; c[1][3] = y; c[2][3] = z; } public Translation3D(Direction3D d) { super(); c[0][3] = d.getX(); c[1][3] = d.getY(); c[2][3] = d.getZ(); } public Translation3D(Translation3D t) { super(t); } }