public class Angle3D extends Object implements Serializable
Copyright (c) 2013-2018 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
public Angle3D(AngleVector rotation) throws ValueException
rotation - the angles of the rotation in 3D (RPY coded)ValueException - in case the vector does not have exactly three elementspublic Angle3D(Angle roll, Angle pitch, Angle yaw) throws ValueException
roll - (phi) the rotation around the x-axispitch - (theta) the rotation around the y-axisyaw - (psi) the rotation around the z-axisValueException - in case the units are incorrectpublic Angle3D(double roll,
double pitch,
double yaw,
AngleUnit unit)
throws ValueException
roll - (phi) the rotation around the x-axispitch - (theta) the rotation around the y-axisyaw - (psi) the rotation around the z-axisunit - the unit of the RPY parametersValueException - in case the units are incorrectCopyright © 2014–2018 Delft University of Technology. All rights reserved.