Class Transform3D
- java.lang.Object
-
- org.team1540.rooster.datastructures.threed.Transform3D
-
public class Transform3D extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static Transform3D
IDENTITY
-
Constructor Summary
Constructors Constructor Description Transform3D(double x, double y, double yaw)
Transform3D(double x, double y, double z, double roll, double pitch, double yaw)
Transform3D(org.apache.commons.math3.geometry.euclidean.threed.Rotation rotation)
Transform3D(org.apache.commons.math3.geometry.euclidean.threed.Vector3D position)
Transform3D(org.apache.commons.math3.geometry.euclidean.threed.Vector3D position, org.apache.commons.math3.geometry.euclidean.threed.Rotation orientation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Transform3D
add(Transform3D other)
org.apache.commons.math3.geometry.euclidean.threed.Rotation
getOrientation()
org.apache.commons.math3.geometry.euclidean.threed.Vector3D
getPosition()
Transform3D
negate()
Transform3D
subtract(Transform3D other)
Transform2D
toTransform2D()
-
-
-
Field Detail
-
IDENTITY
public static final Transform3D IDENTITY
-
-
Constructor Detail
-
Transform3D
public Transform3D(org.apache.commons.math3.geometry.euclidean.threed.Vector3D position, org.apache.commons.math3.geometry.euclidean.threed.Rotation orientation)
-
Transform3D
public Transform3D(org.apache.commons.math3.geometry.euclidean.threed.Vector3D position)
-
Transform3D
public Transform3D(org.apache.commons.math3.geometry.euclidean.threed.Rotation rotation)
-
Transform3D
public Transform3D(double x, double y, double z, double roll, double pitch, double yaw)
-
Transform3D
public Transform3D(double x, double y, double yaw)
-
-
Method Detail
-
toTransform2D
public Transform2D toTransform2D()
-
getPosition
public org.apache.commons.math3.geometry.euclidean.threed.Vector3D getPosition()
-
getOrientation
public org.apache.commons.math3.geometry.euclidean.threed.Rotation getOrientation()
-
add
public Transform3D add(Transform3D other)
-
subtract
public Transform3D subtract(Transform3D other)
-
negate
public Transform3D negate()
-
-