public class Transform
extends java.lang.Object
Constructor and Description |
---|
Transform(Vector3 translation,
Quaternion rotation) |
Modifier and Type | Method and Description |
---|---|
boolean |
almostEquals(Transform other,
double epsilon) |
Quaternion |
apply(Quaternion quaternion) |
Vector3 |
apply(Vector3 vector) |
boolean |
equals(java.lang.Object obj) |
static Transform |
fromPoseMessage(geometry_msgs.Pose message) |
static Transform |
fromTransformMessage(geometry_msgs.Transform message) |
double |
getScale() |
int |
hashCode() |
static Transform |
identity() |
Transform |
invert() |
Transform |
multiply(Transform other)
|
Transform |
scale(double factor) |
double[] |
toMatrix() |
geometry_msgs.Pose |
toPoseMessage(geometry_msgs.Pose result) |
geometry_msgs.PoseStamped |
toPoseStampedMessage(FrameName frame,
org.ros.message.Time stamp,
geometry_msgs.PoseStamped result) |
java.lang.String |
toString() |
geometry_msgs.Transform |
toTransformMessage(geometry_msgs.Transform result) |
static Transform |
translation(double x,
double y,
double z) |
static Transform |
translation(Vector3 vector) |
static Transform |
xRotation(double angle) |
static Transform |
yRotation(double angle) |
static Transform |
zRotation(double angle) |
public Transform(Vector3 translation, Quaternion rotation)
public static Transform fromTransformMessage(geometry_msgs.Transform message)
public static Transform fromPoseMessage(geometry_msgs.Pose message)
public static Transform identity()
public static Transform xRotation(double angle)
public static Transform yRotation(double angle)
public static Transform zRotation(double angle)
public static Transform translation(double x, double y, double z)
public Transform invert()
public Quaternion apply(Quaternion quaternion)
public Transform scale(double factor)
public double getScale()
public double[] toMatrix()
public geometry_msgs.Transform toTransformMessage(geometry_msgs.Transform result)
public geometry_msgs.Pose toPoseMessage(geometry_msgs.Pose result)
public geometry_msgs.PoseStamped toPoseStampedMessage(FrameName frame, org.ros.message.Time stamp, geometry_msgs.PoseStamped result)
public boolean almostEquals(Transform other, double epsilon)
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object