Uses of Class
de.bsommerfeld.pathetic.api.wrapper.PathVector
Packages that use PathVector
Package
Description
-
Uses of PathVector in de.bsommerfeld.pathetic.api.pathing
Methods in de.bsommerfeld.pathetic.api.pathing that return types with arguments of type PathVectorModifier and TypeMethodDescriptionINeighborStrategy.getOffsets()Gets the collection of vectors to check for neighbor nodes. -
Uses of PathVector in de.bsommerfeld.pathetic.api.wrapper
Methods in de.bsommerfeld.pathetic.api.wrapper that return PathVectorModifier and TypeMethodDescriptionPathVector.add(PathVector otherVector) Creates a newPathVectorby adding another vector to this vector.PathVector.clone()PathVector.divide(double value) Creates a newPathVectorby 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 newPathVectorby multiplying this vector by a scalar value.PathVector.normalize()Creates a newPathVectorby normalizing this vector.PathVector.setX(double x) Creates a newPathVectorwith 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 newPathVectorwith 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 newPathVectorwith 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 newPathVectorby subtracting another vector from this vector.PathPosition.toVector()Creates a newPathVectorfrom the coordinates of this position.Methods in de.bsommerfeld.pathetic.api.wrapper with parameters of type PathVectorModifier and TypeMethodDescriptionPathPosition.add(PathVector vector) Creates a newPathPositionby adding the components of the given vector to the coordinates of this position.PathVector.add(PathVector otherVector) Creates a newPathVectorby adding another vector to this vector.static doublePathVector.computeDistance(PathVector A, PathVector B, PathVector C) Computes the distance between a point and a line segment.doublePathVector.distance(PathVector otherVector) Calculates the Euclidean distance between this vector and another vector.doublePathVector.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 newPathPositionby subtracting the components of the given vector from the coordinates of this position.PathVector.subtract(PathVector otherVector) Creates a newPathVectorby subtracting another vector from this vector. -
Uses of PathVector in de.bsommerfeld.pathetic.engine.pathfinder
Fields in de.bsommerfeld.pathetic.engine.pathfinder with type parameters of type PathVector