Uses of Class
net.sf.j3d.util.Vector

Packages that use Vector
net.sf.j3d.math.cover   
net.sf.j3d.physics   
net.sf.j3d.threeD.raytracer.camera   
net.sf.j3d.threeD.raytracer.constructives   
net.sf.j3d.threeD.raytracer.engine   
net.sf.j3d.threeD.raytracer.lighting   
net.sf.j3d.threeD.raytracer.primitives   
net.sf.j3d.threeD.raytracer.shaders   
net.sf.j3d.threeD.raytracer.surfaceUI   
net.sf.j3d.threeD.raytracer.textures   
net.sf.j3d.threeD.raytracer.util   
net.sf.j3d.threeD.ui.dialogs   
net.sf.j3d.threeD.ui.panels   
net.sf.j3d.util   
 

Uses of Vector in net.sf.j3d.math.cover
 

Methods in net.sf.j3d.math.cover with parameters of type Vector
static boolean[][][] Matrix3DSolutionOutput.addVector(boolean[][][] piece, Vector v)
           
 

Uses of Vector in net.sf.j3d.physics
 

Methods in net.sf.j3d.physics that return Vector
 Vector Simulation.Force.evaluateForce(RigidBody.State state, RigidBody.State[] allStates)
           
 Vector RigidBody.State.getAngularMomentum()
           
 Vector RigidBody.State.getAngularVelocity()
           
 Vector RigidBody.State.getForce()
           
 Vector RigidBody.State.getLinearMomentum()
           
 Vector RigidBody.State.getLinearVelocity()
           
 Vector RigidBody.State.getLocation()
           
 Vector RigidBody.State.getRotation()
           
 Vector RigidBody.State.getTorque()
           
 Vector[] Plane.intersect(RigidBody b)
           
 Vector[] Sphere.intersect(RigidBody b)
           
 Vector[] RigidBody.intersect(RigidBody b)
          Performs intersection calculations for this RigidBody object and the specified RigidBody object.
 

Methods in net.sf.j3d.physics with parameters of type Vector
 void RigidBody.State.angularImpulse(Vector impulse)
           
 void RigidBody.State.init(Vector x, Vector r, Vector v, Vector w, Vector f, Vector t, double mass, TransformMatrix inertia, double e)
          Initializes this RigidBody object with the specified location, rotation, linear and angular velocity, force, and torque.
 void RigidBody.State.linearImpulse(Vector impulse)
           
 void RigidBody.State.setAngularVelocity(Vector w)
           
 void RigidBody.State.setForce(Vector f)
           
 void RigidBody.State.setLinearVelocity(Vector v)
           
 void RigidBody.State.setLocation(Vector x)
           
 void RigidBody.State.setRotation(Vector r)
           
 void RigidBody.State.setTorque(Vector t)
           
 

Constructors in net.sf.j3d.physics with parameters of type Vector
Plane(Vector x, Vector r, Vector v, Vector w, Vector f, Vector t, double mass, double e)
          Constructs a new Plane object using the specified initial rigid body state values.
Sphere(Vector x, Vector r, Vector v, Vector w, Vector f, Vector t, double mass, double e, double radius, int radialSample)
          Constructs a new Sphere object using the specified initial rigid body state values.
 

Uses of Vector in net.sf.j3d.threeD.raytracer.camera
 

Methods in net.sf.j3d.threeD.raytracer.camera that return Vector
 Vector OrthographicCamera.getLocation()
          Returns the location of this PinholeCamera object as a Vector object.
 Vector OrthographicCamera.getUpDirection()
          Returns the up direction of this PinholeCamera object as a Vector object.
 Vector OrthographicCamera.getViewDirection()
          Calls the getViewingDirection() method and returns the result.
 Vector OrthographicCamera.getViewingDirection()
          Returns the viewing direction of this PinholeCamera object as a Vector object.
 

Methods in net.sf.j3d.threeD.raytracer.camera with parameters of type Vector
 void OrthographicCamera.setLocation(Vector location)
          Sets the location of this OrthographicCamera object to the specified location.
 void OrthographicCamera.setUpDirection(Vector upDirection)
          Sets the up direction of this PinholeCamera object to the specified up direction.
 void OrthographicCamera.setViewDirection(Vector viewDirection)
          Calls the setViewingDirection() method.
 void OrthographicCamera.setViewingDirection(Vector viewDirection)
          Sets the viewing direction of this PinholeCamera object to the specified viewing direction.
 

Constructors in net.sf.j3d.threeD.raytracer.camera with parameters of type Vector
OrthographicCamera(Vector location, Vector viewDirection, Vector upDirection)
          Constructs an OrthographicCamera object with the specified location, viewing direction, and up direction, but with default projection dimensions as specified above.
OrthographicCamera(Vector location, Vector viewDirection, Vector upDirection, double projectionX, double projectionY)
           
PinholeCamera(Vector location, Vector viewDirection, Vector upDirection)
          Constructs a PinholeCamera object with the specified location, viewing direction, and up direction, but with default focal length and projection dimensions as specified above.
PinholeCamera(Vector location, Vector viewDirection, Vector upDirection, double focalLength, double[] fov)
          Constructs a PinholeCamera object with the specified location, viewing direction, up direction, and focal length.
PinholeCamera(Vector location, Vector viewDirection, Vector upDirection, double focalLength, double projectionX, double projectionY)
          Constructs a PinholeCamera object with the specified location, viewing direction, up direction, focal length, and projection dimensions.
 

Uses of Vector in net.sf.j3d.threeD.raytracer.constructives
 

Methods in net.sf.j3d.threeD.raytracer.constructives that return Vector
 Vector LSystem.getBackward()
           
 Vector LSystem.getForward()
           
 Vector LSystem.getLeft()
           
 Vector LSystem.getRight()
           
 

Methods in net.sf.j3d.threeD.raytracer.constructives with parameters of type Vector
 Surface[] LSystem.generate(Object[] data, Vector d)
           
 void LSystem.setBackward(Vector backward)
           
 void LSystem.setForward(Vector forward)
           
 void LSystem.setLeft(Vector left)
           
 void LSystem.setRight(Vector right)
           
 

Uses of Vector in net.sf.j3d.threeD.raytracer.engine
 

Methods in net.sf.j3d.threeD.raytracer.engine that return Vector
 Vector Ray.getDirection()
           
 Vector AbstractSurface.getLocation()
          Returns the location of this AbstractSurface as a Vector object.
 Vector SurfaceGroup.getNormalAt(Vector point)
          Returns null.
 Vector Surface.getNormalAt(Vector point)
          Returns a Vector object that represents the vector normal to the 3d surface at the point represented by the specified Vector object.
 Vector Ray.getOrigin()
           
 Vector Ray.pointAt(double t)
           
static Vector RayTracingEngine.reflect(Vector vector, Vector normal)
          Reflects the specified Vector object across the normal vector represented by the second specified Vector object and returns the result.
static Vector RayTracingEngine.refract(Vector vector, Vector normal, double ni, double nr, boolean v)
          Refracts the specified Vector object based on the specified normal vector and 2 specified indices of refraction.
 

Methods in net.sf.j3d.threeD.raytracer.engine with parameters of type Vector
static RGB RayTracingEngine.ambientLightingCalculation(Vector point, Vector rayDirection, Surface surface, Surface[] otherSurfaces, AmbientLight light)
          Performs the lighting calculations for the specified surface at the specified point of interesection on that surface using the lighting data from the specified AmbientLight object and returns an RGB object that represents the color of the point.
static RGB RayTracingEngine.directionalAmbientLightingCalculation(Vector point, Vector rayDirection, Surface surface, Surface[] otherSurfaces, DirectionalAmbientLight light, Light[] otherLights, ShaderParameters p)
          Performs the lighting calculations for the specified surface at the specified point of interesection on that surface using the lighting data from the specified DirectionalAmbientLight object and returns an RGB object that represents the color of the point.
 RGB Texture.getColorAt(Vector point)
          Returns the color of the texture represented by this Texture object at the specified point as an RGB object using the arguments stored by this Texture object.
 RGB Surface.getColorAt(Vector point)
          Returns the color of this Surface object at the specified point as an RGB object.
 RGB AbstractSurface.getColorAt(Vector p)
           
 RGB AbstractSurface.getColorAt(Vector point, boolean transform)
           
 RGB Texture.getColorAt(Vector point, Object[] args)
          Returns the color of the texture represented by this Texture object at the specified point as an RGB object using the specified arguments.
 double AbstractSurface.getIndexOfRefraction(Vector p)
           
 Vector SurfaceGroup.getNormalAt(Vector point)
          Returns null.
 Vector Surface.getNormalAt(Vector point)
          Returns a Vector object that represents the vector normal to the 3d surface at the point represented by the specified Vector object.
 double AbstractSurface.getReflectedPercentage(Vector p)
           
 double AbstractSurface.getRefractedPercentage(Vector p)
           
static RGB RayTracingEngine.lightingCalculation(Vector point, Vector rayDirection, Surface surface, Surface[] otherSurfaces, Light[] lights, ShaderParameters p)
          Performs the lighting calculations for the specified surface at the specified point of intersection on that surface using the lighting data from the specified Light objects and returns an RGB object that represents the color of the point.
static RGB RayTracingEngine.lightingCalculation(Vector point, Vector rayDirection, Surface surface, Surface[] otherSurfaces, Light light, Light[] otherLights, ShaderParameters p)
          Performs the lighting calculations for the specified surface at the specified point of interesection on that surface using the lighting data from the specified Light object and returns an RGB object that represents the color of the point.
static RGB RayTracingEngine.pointLightingCalculation(Vector point, Vector rayDirection, Surface surface, Surface[] otherSurfaces, PointLight light, Light[] otherLights, ShaderParameters p)
          Performs the lighting calculations for the specified surface at the specified point of interesection on that surface using the lighting data from the specified PointLight object and returns an RGB object that represents the color of the point.
static Vector RayTracingEngine.reflect(Vector vector, Vector normal)
          Reflects the specified Vector object across the normal vector represented by the second specified Vector object and returns the result.
static Vector RayTracingEngine.refract(Vector vector, Vector normal, double ni, double nr, boolean v)
          Refracts the specified Vector object based on the specified normal vector and 2 specified indices of refraction.
 void Ray.setDirection(Vector direction)
          Sets the direction of this Ray object to the specified direction vector.
 void AbstractSurface.setLocation(Vector location)
          Sets the location of this AbstractSurface to the specified Vector object.
 void Ray.setOrigin(Vector origin)
          Sets the origin of this Ray object to the specified origin vector.
static boolean RayTracingEngine.shadowCalculation(Vector point, Surface[] surfaces, Light light)
          Performs the shadow calculations for the specified surfaces at the specified point using the data from the specified Light object.
 

Constructors in net.sf.j3d.threeD.raytracer.engine with parameters of type Vector
AbstractSurface(Vector location, double size)
          Sets the location and size of this AbstractSurface to those specifed, and uses the defaults for the other values.
AbstractSurface(Vector location, double size, RGB color)
          Sets the location, size, and color of this AbstractSurface to those specified.
AbstractSurface(Vector location, double size, RGB color, boolean addDefaultDiffuseShader)
          Sets the location, size, and color of this AbstractSurface to those specified.
Ray(Vector origin, Vector direction)
          Constructs a Ray object using the specified origin and direction vectors.
 

Uses of Vector in net.sf.j3d.threeD.raytracer.lighting
 

Methods in net.sf.j3d.threeD.raytracer.lighting that return Vector
 Vector DirectionalAmbientLight.getDirection()
          Returns the direction of this DirectionalAmbientLight object as a Vector object.
 Vector PointLight.getLocation()
          Returns the location of this PointLight object as a Vector object.
 Vector PointLightGrid.getNormalAt(Vector point)
          Returns a zero vector.
 

Methods in net.sf.j3d.threeD.raytracer.lighting with parameters of type Vector
 RGB PointLight.getColorAt(Vector point)
          Returns the color of the light represented by this PointLight object at the specified point as an RGB object.
 RGB Light.getColorAt(Vector point)
          Returns the color of the light represented by this Light object at the specified point as an RGB object.
 RGB AmbientLight.getColorAt(Vector point)
          Returns the color of this AmbientLight object as an RGB object.
 Vector PointLightGrid.getNormalAt(Vector point)
          Returns a zero vector.
 void DirectionalAmbientLight.setDirection(Vector direction)
          Sets the direction of this DirectionalAmbientLight object to the direction represented by the specified Vector object.
 void PointLight.setLocation(Vector location)
          Sets the location of this PointLight object to the location represented by the specified Vector object.
 

Constructors in net.sf.j3d.threeD.raytracer.lighting with parameters of type Vector
DirectionalAmbientLight(double intensity, RGB color, Vector direction)
          Constructs a DirectionalAmbientLight object with the direction, intensity, and color represented by the specified values.
DirectionalAmbientLight(Vector direction)
          Constructs a DirectionalAmbientLight object with default intensity and color and the direction represented by the specified Vector object.
PointLight(Vector location)
          Constructs a PointLight object with the specified location and default intensity and color.
PointLight(Vector location, double intensity, RGB color)
          Constructs a PointLight object with the specified location, intensity, and color.
SphericalLight(Vector location, double radius)
          Constructs a new SphericalLight object.
 

Uses of Vector in net.sf.j3d.threeD.raytracer.primitives
 

Subclasses of Vector in net.sf.j3d.threeD.raytracer.primitives
static class Mesh.Vertex
           
 

Methods in net.sf.j3d.threeD.raytracer.primitives that return Vector
 Vector Polynomial.evaluateGradient(double x, double y, double z)
          Evaluates the gradient of the polynomial funtion represented by this Polynomial object for the specified values.
 Vector Mesh.Vertex.getNormal()
           
 Vector Mesh.Vertex.getNormal(double d)
           
 Vector Triangle.getNormalAt(Vector point)
          Returns a Vector object that represents the vector normal to this sphere at the point represented by the specified Vector object.
 Vector Sphere.getNormalAt(Vector point)
          Returns a Vector object that represents the vector normal to this sphere at the point represented by the specified Vector object.
 Vector Polynomial.getNormalAt(Vector point)
          Returns a Vector object that represents the vector normal to this polynomial surface at the point represented by the specified Vector object.
 Vector Plane.getNormalAt(Vector point)
          Returns a Vector object that represents the vector normal to this plane at the point represented by the specified Vector object.
 Vector Mesh.getNormalAt(Vector point)
           
 Vector Mesh.MeshFile.getNormalAt(Vector point)
           
 Vector Cylinder.getNormalAt(Vector point)
           
 Vector CSG.getNormalAt(Vector point)
           
 Vector Cone.getNormalAt(Vector point)
          Returns a Vector object that represents the vector normal to this cone at the point represented by the specified Vector object.
 Vector[] Triangle.getVertices()
           
 

Methods in net.sf.j3d.threeD.raytracer.primitives with parameters of type Vector
 void Mesh.Vertex.addNormal(Vector n)
           
 int Mesh.addVector(Vector p)
          Adds the point defined by the specified Vector object to the mesh represented by this Mesh object.
 int Mesh.extrudeFace(int p1, int p2, int p3, Vector n)
          Extrudes the specified face with an offset of the specified vector.
 int Mesh.extrudeFace(int face, Vector n)
          Extrudes the specified face with an offset of the specified vector.~ This method probably does not work properly.
 RGB Triangle.getColorAt(Vector p)
           
 RGB Mesh.MeshFile.getColorAt(Vector point)
           
 int Mesh.getIndex(Vector v)
           
 double Sphere.getIndexOfRefraction(Vector p)
           
 Vector Triangle.getNormalAt(Vector point)
          Returns a Vector object that represents the vector normal to this sphere at the point represented by the specified Vector object.
 Vector Sphere.getNormalAt(Vector point)
          Returns a Vector object that represents the vector normal to this sphere at the point represented by the specified Vector object.
 Vector Polynomial.getNormalAt(Vector point)
          Returns a Vector object that represents the vector normal to this polynomial surface at the point represented by the specified Vector object.
 Vector Plane.getNormalAt(Vector point)
          Returns a Vector object that represents the vector normal to this plane at the point represented by the specified Vector object.
 Vector Mesh.getNormalAt(Vector point)
           
 Vector Mesh.MeshFile.getNormalAt(Vector point)
           
 Vector Cylinder.getNormalAt(Vector point)
           
 Vector CSG.getNormalAt(Vector point)
           
 Vector Cone.getNormalAt(Vector point)
          Returns a Vector object that represents the vector normal to this cone at the point represented by the specified Vector object.
 int Mesh.indexOf(Vector v)
           
 void Mesh.Vertex.removeNormal(Vector n)
           
 void Mesh.Vertex.setNormal(Vector n)
           
 void Triangle.setVertices(Vector p1, Vector p2, Vector p3)
          Sets the vertices of this Triangle object to those specified.
 

Constructors in net.sf.j3d.threeD.raytracer.primitives with parameters of type Vector
Cone(Vector location, double radius)
          Constructs a Cone object that represents a cone with the specified base radius, and the specified location, that is black.
Cone(Vector location, double radius, RGB color)
          Constructs a Cone object that represents a cone with the specified base radius, location, and color.
Cylinder(Vector location, double radius)
          Constructs a Cylinder object that represents a cylinder with the specified base radius, and the specified location, that is black.
Cylinder(Vector location, double radius, RGB color)
          Constructs a Cylinder object that represents a cylinder with the specified base radius, location, and color.
Mesh.Vertex(Vector p)
           
Mesh(Vector[] points, int[][] triangles)
          Constructs a new Mesh object.
Sphere(Vector location, double radius)
          Constructs a Sphere object that represents a sphere with the specified center location and radius that is black.
Sphere(Vector location, double radius, RGB color)
          Constructs a Sphere object that represents a sphere with the specified center location, radius, and color.
Triangle(Vector p1, Vector p2, Vector p3)
          Constructs a new Triangle object with the specified vertices that is black.
Triangle(Vector p1, Vector p2, Vector p3, RGB color)
          Constructs a new Triangle object with the specified vertices with the color represented by the specified RGB object.
 

Uses of Vector in net.sf.j3d.threeD.raytracer.shaders
 

Fields in net.sf.j3d.threeD.raytracer.shaders declared as Vector
static Vector RefractionShader.lastRay
           
 

Methods in net.sf.j3d.threeD.raytracer.shaders that return Vector
 Vector ShaderParameters.getLightDirection()
           
 Vector ShaderParameters.getPoint()
           
 Vector ShaderParameters.getViewerDirection()
           
 Vector RefractionShader.refract(Vector n, Vector d, double rindex, double eindex)
           
 

Methods in net.sf.j3d.threeD.raytracer.shaders with parameters of type Vector
 boolean RefractionShader.checkEntering(Vector d, Vector n)
           
 Vector RefractionShader.refract(Vector n, Vector d, double rindex, double eindex)
           
 double RefractionShader.sampleDensity(AbstractSurface s, Vector p, Vector n, double sd, int samples, boolean entering)
           
 void ShaderParameters.setLightDirection(Vector l)
          Sets the direction toward the light to the specified Vector object.
 void ShaderParameters.setPoint(Vector p)
          Sets the point to be shaded to the specified Vector object.
 void ShaderParameters.setViewerDirection(Vector v)
          Sets the direction toward the viewer to the specified Vector object.
 RGB RefractionShader.shade(Vector point, Vector viewerDirection, Vector lightDirection, Light light, Light[] otherLights, Surface surface, Surface[] otherSurfaces, Vector n, ShaderParameters p)
           
 

Constructors in net.sf.j3d.threeD.raytracer.shaders with parameters of type Vector
ShaderParameters(Vector point, Vector viewerDirection, Vector lightDirection, Light light, Light[] otherLights, Surface[] otherSurfaces)
           
ShaderParameters(Vector point, Vector viewerDirection, Vector lightDirection, Light light, Light[] otherLights, Surface surface, Surface[] otherSurfaces)
          Constructs a new ShaderParameters object using the specified arguments.
 

Uses of Vector in net.sf.j3d.threeD.raytracer.surfaceUI
 

Methods in net.sf.j3d.threeD.raytracer.surfaceUI that return Vector
 Vector AbstractSurfaceUI.getNormalAt(Vector point)
          Returns a Vector object that represents the vector normal to this surface at the point represented by the specified Vector object.
 

Methods in net.sf.j3d.threeD.raytracer.surfaceUI with parameters of type Vector
 RGB AbstractSurfaceUI.getColorAt(Vector point)
          Returns the color of this AbstractSurfaceUI at the specified point as an RGB object.
 Vector AbstractSurfaceUI.getNormalAt(Vector point)
          Returns a Vector object that represents the vector normal to this surface at the point represented by the specified Vector object.
 

Uses of Vector in net.sf.j3d.threeD.raytracer.textures
 

Methods in net.sf.j3d.threeD.raytracer.textures with parameters of type Vector
 RGB StripeTexture.getColorAt(Vector point)
           
 RGB ImageTexture.getColorAt(Vector point)
           
 RGB StripeTexture.getColorAt(Vector point, Object[] props)
           
 RGB ImageTexture.getColorAt(Vector point, Object[] args)
           
 

Uses of Vector in net.sf.j3d.threeD.raytracer.util
 

Methods in net.sf.j3d.threeD.raytracer.util that return Vector
 Vector TransformMatrix.transformAsLocation(Vector vector)
          Computes and returns the result of the vector multiplication of the matrix represented by this TransformMatrix object and the vector represented by the specified Vector object assuming that the specified vector describes a location on 3d space.
 Vector TransformMatrix.transformAsNormal(Vector vector)
          Computes and returns the result of the vector multiplication of the matrix represented by this TransformMatrix object and the vector represented by the specified Vector object assuming that the specified vector describes a surface normal in 3d space.
 Vector TransformMatrix.transformAsOffset(Vector vector)
          Computes and returns the result of the vector multiplication of the matrix represented by this TransformMatrix object and the vector represented by the specified Vector object assuming that the specified vector describes an offset in 3d space.
 

Methods in net.sf.j3d.threeD.raytracer.util with parameters of type Vector
 void TransformMatrix.transform(Vector vector, int type)
           
 Vector TransformMatrix.transformAsLocation(Vector vector)
          Computes and returns the result of the vector multiplication of the matrix represented by this TransformMatrix object and the vector represented by the specified Vector object assuming that the specified vector describes a location on 3d space.
 Vector TransformMatrix.transformAsNormal(Vector vector)
          Computes and returns the result of the vector multiplication of the matrix represented by this TransformMatrix object and the vector represented by the specified Vector object assuming that the specified vector describes a surface normal in 3d space.
 Vector TransformMatrix.transformAsOffset(Vector vector)
          Computes and returns the result of the vector multiplication of the matrix represented by this TransformMatrix object and the vector represented by the specified Vector object assuming that the specified vector describes an offset in 3d space.
 

Uses of Vector in net.sf.j3d.threeD.ui.dialogs
 

Constructors in net.sf.j3d.threeD.ui.dialogs with parameters of type Vector
EditVectorDialog(Vector vector, DynamicDisplay display)
          Constructs a new EditVectorDialog that can be used to edit the specified Vector object.
 

Uses of Vector in net.sf.j3d.threeD.ui.panels
 

Methods in net.sf.j3d.threeD.ui.panels that return Vector
 Vector EditVectorPanel.getSelectedVector()
           
 

Methods in net.sf.j3d.threeD.ui.panels with parameters of type Vector
 void EditVectorPanel.setSelectedVector(Vector value)
          Updates the fields of this EditVectorPanel object to display the values for the vector represented by the specified Vector object.
 

Constructors in net.sf.j3d.threeD.ui.panels with parameters of type Vector
EditVectorPanel(Vector value)
          Constructs a new EditVectorPanel object with the initial values set to those of the specified Vector object.
 

Uses of Vector in net.sf.j3d.util
 

Methods in net.sf.j3d.util that return Vector
 Vector Vector.add(Vector vector)
          Returns the sum of the vector represented by this Vector object and that of the specified Vector object.
 Vector Vector.crossProduct(Vector vector)
          Returns the cross product of the vector represented by this Vector object and that of the specified Vector object.
 Vector Vector.divide(double value)
          Returns the quotient of the division of the vector represented by this Vector object by the specified value.
 Vector Vector.minus()
          Returns the opposite of the vector represented by this Vector object.
 Vector Vector.multiply(double value)
          Returns the product of the vector represented by this Vector object and the specified value.
 Vector Vector.subtract(Vector vector)
          Returns the difference of the vector represented by this Vector object and that of the specified Vector object.
static Vector Vector.uniformSphericalRandom()
           
 

Methods in net.sf.j3d.util with parameters of type Vector
 Vector Vector.add(Vector vector)
          Returns the sum of the vector represented by this Vector object and that of the specified Vector object.
 void Vector.addTo(Vector vector)
          Adds the vector represented by the specified Vector object to this Vector object.
 Vector Vector.crossProduct(Vector vector)
          Returns the cross product of the vector represented by this Vector object and that of the specified Vector object.
 double Vector.dotProduct(Vector vector)
          Returns the dot product of the vector represented by this Vector object and that of the specified Vector object.
 Vector Vector.subtract(Vector vector)
          Returns the difference of the vector represented by this Vector object and that of the specified Vector object.
 void Vector.subtractFrom(Vector vector)
          Subtracts the vector represented by the specified Vector object from this Vector object.