Uses of Class
org.evoludo.geom.Vector3D

Packages that use Vector3D
Package
Description
 
 
  • Uses of Vector3D in org.evoludo.geom

    Methods in org.evoludo.geom that return Vector3D
    Modifier and Type
    Method
    Description
    Vector3D.add(double dx, double dy, double dz)
    Shift the coordinates of this 3D vector by dx, dy and dz in the x-, y-, and z-coordinates, respectively.
    Vector3D.add(Point3D a, Point3D b)
    Add the 3D vectors a and b and store result in this vector.
    Vector3D.add(Vector3D add)
    Add the 3D vector add to this vector.
    Vector3D.cross(Vector3D d)
    Calculate the cross product of the 3D vector d and this vector.
    Vector3D.cross(Vector3D a, Vector3D b)
    Calculate the cross product of two 3D vectors a, b and store result in this vector.
    Vector3D.negate()
    Negates the coordinates of 3D vector v to obtain -v.
    Vector3D.normalize()
    Normalizes the 3D vector v such that its length is |v|=1 while preserving the direction.
    Vector3D.normalize(double l)
    Normalizes the 3D vector v such that its length is l, i.e.
    Vector3D.scaleAdd(double s, Vector3D a)
    Scales the 3D vector v by the scalar factor s and adds the 3D vector a, v=s*v+a.
    Vector3D.set(Point3D from, Point3D to)
    Set the 3D vector pointing from from to to.
    Vector3D.sub(double dx, double dy, double dz)
    Subtract dx, dy and dz from the x-, y-, and z-coordinates, respectively.
    Vector3D.sub(Vector3D sub)
    Subtract the 3D vector sub from this vector.
    Vector3D.sub(Vector3D a, Vector3D b)
    Subtract 3D vectors b from a and store result in this 3D vector.
    Methods in org.evoludo.geom with parameters of type Vector3D
    Modifier and Type
    Method
    Description
    Vector3D.add(Vector3D add)
    Add the 3D vector add to this vector.
    Vector3D.cross(Vector3D d)
    Calculate the cross product of the 3D vector d and this vector.
    Vector3D.cross(Vector3D a, Vector3D b)
    Calculate the cross product of two 3D vectors a, b and store result in this vector.
    double
    Vector3D.dot(Vector3D d)
    Calculate the dot product of 3D vector d and this vector.
    Vector3D.scaleAdd(double s, Vector3D a)
    Scales the 3D vector v by the scalar factor s and adds the 3D vector a, v=s*v+a.
    Vector3D.sub(Vector3D sub)
    Subtract the 3D vector sub from this vector.
    Vector3D.sub(Vector3D a, Vector3D b)
    Subtract 3D vectors b from a and store result in this 3D vector.
    Constructors in org.evoludo.geom with parameters of type Vector3D
    Modifier
    Constructor
    Description
     
    Create a new 3D vector from point p.
  • Uses of Vector3D in org.evoludo.simulator

    Fields in org.evoludo.simulator declared as Vector3D
    Modifier and Type
    Field
    Description
    private final Vector3D
    Network3D.attraction
    Helper variable to store intermediate results when considering the potential energy resulting from the attraction between neighbouring nodes.
    private final Vector3D
    Network3D.repulsion
    Helper variable to store intermediate results when considering the potential energy resulting from the repulsion between nodes.
    private final Vector3D
    Network3D.vec
    Temporary storage for the directional vector connecting two nodes.