1 /* 2 * RotationPassiveEuler.java 3 * 4 * Created on July 31, 2007, 3:45 PM 5 * 6 * To change this template, choose Tools | Template Manager 7 * and open the template in the editor. 8 */ 9 10 package org.lcsim.detector; 11 12 13 /** 14 * 15 * Represents a passive Euler rotation in 3D space. 16 * 17 * @author Tim Nelson <tknelson@slac.stanford.edu> 18 */ 19 public class RotationPassiveEuler extends Rotation3D 20 { 21 22 /** Creates a new instance of RotationPassiveEuler */ 23 public RotationPassiveEuler(double phi, double theta, double psi) 24 { 25 super(makeRotation(phi,theta,psi)); 26 } 27 28 // Static Method 29 //=============== 30 public static IRotation3D makeRotation(double phi, double theta, double psi) 31 { 32 return multiply(passiveZRotation(psi),multiply(passiveXRotation(theta),passiveZRotation(phi))); 33 } 34 35 }