public static class Rotation3D.Abs extends Object
Copyright (c) 2013-2015 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
All rights reserved.
BSD-style license. See OpenTrafficSim License.
Constructor and Description |
---|
Abs(org.djunits.value.vdouble.scalar.Angle.Abs roll,
org.djunits.value.vdouble.scalar.Angle.Abs pitch,
org.djunits.value.vdouble.scalar.Angle.Abs yaw) |
Abs(org.djunits.value.vdouble.vector.AngleVector.Abs rotation) |
Abs(double roll,
double pitch,
double yaw,
org.djunits.unit.AngleUnit unit) |
Modifier and Type | Method and Description |
---|---|
org.djunits.value.vdouble.scalar.Angle.Abs |
getPitch() |
org.djunits.value.vdouble.scalar.Angle.Abs |
getRoll() |
org.djunits.value.vdouble.scalar.Angle.Abs |
getYaw() |
String |
toString() |
public Abs(org.djunits.value.vdouble.vector.AngleVector.Abs rotation) throws org.djunits.value.ValueException
rotation
- the angles in 3D (RPY coded)org.djunits.value.ValueException
- in case the vector does not have exactly three elementspublic Abs(org.djunits.value.vdouble.scalar.Angle.Abs roll, org.djunits.value.vdouble.scalar.Angle.Abs pitch, org.djunits.value.vdouble.scalar.Angle.Abs yaw) throws org.djunits.value.ValueException
roll
- (phi) the rotation around the x-axispitch
- (theta) the rotation around the y-axisyaw
- (psi) the rotation around the z-axisorg.djunits.value.ValueException
- in case the units are incorrectpublic Abs(double roll, double pitch, double yaw, org.djunits.unit.AngleUnit unit) throws org.djunits.value.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 parametersorg.djunits.value.ValueException
- in case the units are incorrectCopyright © 2014–2016 Delft University of Technology. All rights reserved.