@Test public void testScale() { assertTrue(Vector3.xAxis().scale(2) .almostEquals(Transform.identity().scale(2).apply(Vector3.xAxis()), 1e-9)); }
public Transform scale(double factor) { return new Transform(translation, rotationAndScale.scale(Math.sqrt(factor))); }
Transform { public Transform scale(double factor) { return new Transform(translation, rotationAndScale.scale(Math.sqrt(factor))); } }
Transform { public Transform scale(double factor) { return new Transform(translation, rotationAndScale.scale(Math.sqrt(factor))); } Transform(Vector3 translation, Quaternion rotation); }
Transform { public Transform scale(double factor) { return new Transform(translation, rotationAndScale.scale(Math.sqrt(factor))); } Transform(Vector3 translation, Quaternion rotation); static Transform fromTransformMessage(geometry_msgs.Transform message); static Transform fromPoseMessage(geometry_msgs.Pose message); static Transform identity(); static Transform xRotation(double angle); static Transform yRotation(double angle); static Transform zRotation(double angle); static Transform translation(double x, double y, double z); static Transform translation(Vector3 vector); Transform multiply(Transform other); Transform invert(); Vector3 apply(Vector3 vector); Quaternion apply(Quaternion quaternion); Transform scale(double factor); double getScale(); double[] toMatrix(); geometry_msgs.Transform toTransformMessage(geometry_msgs.Transform result); geometry_msgs.Pose toPoseMessage(geometry_msgs.Pose result); geometry_msgs.PoseStamped toPoseStampedMessage(GraphName frame, Time stamp,
      geometry_msgs.PoseStamped result); boolean almostEquals(Transform other, double epsilon); Vector3 getTranslation(); Quaternion getRotationAndScale(); @Override String toString(); @Override int hashCode(); @Override boolean equals(Object obj); }
Transform { public Transform scale(double factor) { return new Transform(translation, rotationAndScale.scale(Math.sqrt(factor))); } Transform(Vector3 translation, Quaternion rotation); static Transform fromTransformMessage(geometry_msgs.Transform message); static Transform fromPoseMessage(geometry_msgs.Pose message); static Transform identity(); static Transform xRotation(double angle); static Transform yRotation(double angle); static Transform zRotation(double angle); static Transform translation(double x, double y, double z); static Transform translation(Vector3 vector); Transform multiply(Transform other); Transform invert(); Vector3 apply(Vector3 vector); Quaternion apply(Quaternion quaternion); Transform scale(double factor); double getScale(); double[] toMatrix(); geometry_msgs.Transform toTransformMessage(geometry_msgs.Transform result); geometry_msgs.Pose toPoseMessage(geometry_msgs.Pose result); geometry_msgs.PoseStamped toPoseStampedMessage(GraphName frame, Time stamp,
      geometry_msgs.PoseStamped result); boolean almostEquals(Transform other, double epsilon); Vector3 getTranslation(); Quaternion getRotationAndScale(); @Override String toString(); @Override int hashCode(); @Override boolean equals(Object obj);  }