Uses of Class
de.metaphoriker.pathetic.api.wrapper.PathVector
-
Uses of PathVector in de.metaphoriker.pathetic.api.wrapper
Modifier and TypeMethodDescriptionPathVector.add
(PathVector otherVector) Adds two vectors togetherPathVector.clone()
PathVector.divide
(double value) Divide the vector by a scalar constantPathVector.getCrossProduct
(PathVector o) Calculates the cross product of two vectors@NonNull PathVector
PathVector.multiply
(double value) Multiplies itself by a scalar constant@NonNull PathVector
PathVector.normalize()
Normalises thePathVector
(Divides the components by its magnitude)PathVector.setX
(double x) Sets the x component of the vectorPathVector.setY
(double y) Sets the y component of the vectorPathVector.setZ
(double z) Sets the z component of the vector@NonNull PathVector
PathVector.subtract
(PathVector otherVector) Subtracts one vector from another@NonNull PathVector
PathPosition.toVector()
Converts the positions x,y,z to aPathVector
Modifier and TypeMethodDescription@NonNull PathPosition
PathPosition.add
(PathVector vector) Adds the values of a vector to the positionPathVector.add
(PathVector otherVector) Adds two vectors togetherstatic double
PathVector.computeDistance
(PathVector A, PathVector B, PathVector C) Finds the distance between the line BC and the point Adouble
PathVector.distance
(PathVector otherVector) Gets the distance between this vector and another vectordouble
PathVector.dot
(PathVector otherVector) Calculates the dot product of two vectorsPathVector.getCrossProduct
(PathVector o) Calculates the cross product of two vectors@NonNull PathPosition
PathPosition.subtract
(PathVector vector) Subtracts the values of a vector from the position@NonNull PathVector
PathVector.subtract
(PathVector otherVector) Subtracts one vector from another