public class Vector3
extends java.lang.Object
Constructor and Description |
---|
Vector3(double x,
double y,
double z) |
Modifier and Type | Method and Description |
---|---|
Vector3 |
add(Vector3 other) |
boolean |
almostEquals(Vector3 other,
double epsilon) |
double |
dotProduct(Vector3 other) |
boolean |
equals(java.lang.Object obj) |
static Vector3 |
fromPointMessage(geometry_msgs.Point message) |
static Vector3 |
fromVector3Message(geometry_msgs.Vector3 message) |
double |
getMagnitude() |
double |
getMagnitudeSquared() |
double |
getX() |
double |
getY() |
double |
getZ() |
int |
hashCode() |
Vector3 |
invert() |
Vector3 |
normalize() |
Vector3 |
scale(double factor) |
Vector3 |
subtract(Vector3 other) |
geometry_msgs.Point |
toPointMessage(geometry_msgs.Point result) |
java.lang.String |
toString() |
geometry_msgs.Vector3 |
toVector3Message(geometry_msgs.Vector3 result) |
static Vector3 |
xAxis() |
static Vector3 |
yAxis() |
static Vector3 |
zAxis() |
static Vector3 |
zero() |
public static Vector3 fromVector3Message(geometry_msgs.Vector3 message)
public static Vector3 fromPointMessage(geometry_msgs.Point message)
public static Vector3 zero()
public static Vector3 xAxis()
public static Vector3 yAxis()
public static Vector3 zAxis()
public Vector3 invert()
public double dotProduct(Vector3 other)
public Vector3 normalize()
public Vector3 scale(double factor)
public double getX()
public double getY()
public double getZ()
public double getMagnitudeSquared()
public double getMagnitude()
public geometry_msgs.Vector3 toVector3Message(geometry_msgs.Vector3 result)
public geometry_msgs.Point toPointMessage(geometry_msgs.Point result)
public boolean almostEquals(Vector3 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