Uses of Class
de.metaphoriker.pathetic.api.wrapper.PathVector
Packages that use PathVector
-
Uses of PathVector in de.metaphoriker.pathetic.api.wrapper
Methods in de.metaphoriker.pathetic.api.wrapper that return PathVectorModifier and TypeMethodDescriptionPathVector.add
(PathVector otherVector) Creates a newPathVector
by adding another vector to this vector.PathVector.clone()
PathVector.divide
(double value) Creates a newPathVector
by dividing this vector by a scalar value.PathVector.getCrossProduct
(PathVector o) Calculates the cross product of this vector and another vector.PathVector.multiply
(double value) Creates a newPathVector
by multiplying this vector by a scalar value.PathVector.normalize()
Creates a newPathVector
by normalizing this vector.PathVector.setX
(double x) Creates a newPathVector
with the same y and z components as this vector, but with the x-component set to the given value.PathVector.setY
(double y) Creates a newPathVector
with the same x and z components as this vector, but with the y-component set to the given value.PathVector.setZ
(double z) Creates a newPathVector
with the same x and y components as this vector, but with the z-component set to the given value.PathVector.subtract
(PathVector otherVector) Creates a newPathVector
by subtracting another vector from this vector.PathPosition.toVector()
Creates a newPathVector
from the coordinates of this position.Methods in de.metaphoriker.pathetic.api.wrapper with parameters of type PathVectorModifier and TypeMethodDescriptionPathPosition.add
(PathVector vector) Creates a newPathPosition
by adding the components of the given vector to the coordinates of this position.PathVector.add
(PathVector otherVector) Creates a newPathVector
by adding another vector to this vector.static double
PathVector.computeDistance
(PathVector A, PathVector B, PathVector C) Computes the distance between a point and a line segment.double
PathVector.distance
(PathVector otherVector) Calculates the Euclidean distance between this vector and another vector.double
PathVector.dot
(PathVector otherVector) Calculates the dot product of this vector and another vector.PathVector.getCrossProduct
(PathVector o) Calculates the cross product of this vector and another vector.PathPosition.subtract
(PathVector vector) Creates a newPathPosition
by subtracting the components of the given vector from the coordinates of this position.PathVector.subtract
(PathVector otherVector) Creates a newPathVector
by subtracting another vector from this vector.