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 vectorsPathVector.multiply
(double value) Multiplies itself by a scalar constantPathVector.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 vectorPathVector.subtract
(PathVector otherVector) Subtracts one vector from anotherPathPosition.toVector()
Converts the positions x,y,z to aPathVector
Modifier and TypeMethodDescriptionPathPosition.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 vectorsPathPosition.subtract
(PathVector vector) Subtracts the values of a vector from the positionPathVector.subtract
(PathVector otherVector) Subtracts one vector from another