Uses of Class
org.evoludo.geom.Vector3D
Packages that use Vector3D
Package
Description
The geometric utilities for working with shapes and spatial relationships.
The toolkit to explore interactive evolutionary models.
-
Uses of Vector3D in org.evoludo.geom
Methods in org.evoludo.geom that return Vector3DModifier and TypeMethodDescriptionVector3D.add(double dx, double dy, double dz) Shift the coordinates of this 3D vector bydx,dyanddzin thex-,y-, andz-coordinates, respectively.Add the 3D vectorsaandband store result in this vector.Add the 3D vectoraddto this vector.Calculate the cross product of the 3D vectordand this vector.Calculate the cross product of two 3D vectorsa,band store result in this vector.Vector3D.negate()Negates the coordinates of 3D vectorvto obtain-v.Vector3D.normalize()Normalizes the 3D vectorvsuch that its length is|v|=1while preserving the direction.Vector3D.normalize(double l) Normalizes the 3D vectorvsuch that its length isl, i.e.Scales the 3D vectorvby the scalar factorsand adds the 3D vectora,v=s*v+a.Set the 3D vector pointing fromfromtoto.Vector3D.sub(double dx, double dy, double dz) Subtractdx,dyanddzfrom thex-,y-, andz-coordinates, respectively.Subtract the 3D vectorsubfrom this vector.Subtract 3D vectorsbfromaand store result in this 3D vector.Methods in org.evoludo.geom with parameters of type Vector3DModifier and TypeMethodDescriptionAdd the 3D vectoraddto this vector.Calculate the cross product of the 3D vectordand this vector.Calculate the cross product of two 3D vectorsa,band store result in this vector.doubleCalculate the dot product of 3D vectordand this vector.Scales the 3D vectorvby the scalar factorsand adds the 3D vectora,v=s*v+a.Subtract the 3D vectorsubfrom this vector.Subtract 3D vectorsbfromaand store result in this 3D vector.Constructors in org.evoludo.geom with parameters of type Vector3D -
Uses of Vector3D in org.evoludo.simulator
Fields in org.evoludo.simulator declared as Vector3DModifier and TypeFieldDescriptionprivate final Vector3DNetwork3D.attractionHelper variable to store intermediate results when considering the potential energy resulting from the attraction between neighbouring nodes.private final Vector3DNetwork3D.repulsionHelper variable to store intermediate results when considering the potential energy resulting from the repulsion between nodes.private final Vector3DNetwork3D.vecTemporary storage for the directional vector connecting two nodes.