All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class juice.vector.RealVec

java.lang.Object
   |
   +----juice.vector.RealVec

public class RealVec
extends Object
implements RealVector


Variable Index

 o v

Constructor Index

 o RealVec()
 o RealVec(float)
 o RealVec(RealVec)

Method Index

 o add(Vector)
 o add(Vector, Vector)
 o addScale(float, Vector)
 o addScale(float, Vector, Vector)
 o copy()
 o copyFrom(Vector)
 o dot(Vector)
 o equals(Object)
Compares two Objects for equality.
 o getSpace()
 o getValue()
 o neg()
 o neg(Vector)
 o norm()
 o norm2()
 o scale(float)
 o scale(float, Vector)
 o setValue(float)
 o sub(Vector)
 o sub(Vector, Vector)
 o toString()
Returns a string representation of the object.
 o zero()

Variables

 o v
 public float v

Constructors

 o RealVec
 public RealVec()
 o RealVec
 public RealVec(float v)
 o RealVec
 public RealVec(RealVec src)

Methods

 o copy
 public JamObject copy()
 o setValue
 public void setValue(float v)
 o getValue
 public float getValue()
 o equals
 public boolean equals(Object obj)
Compares two Objects for equality.

Overrides:
equals in class Object
 o getSpace
 public Space getSpace()
 o neg
 public void neg()
 o neg
 public void neg(Vector vec2)
 o add
 public void add(Vector vec2)
 o add
 public void add(Vector vec1,
                 Vector vec2)
 o addScale
 public void addScale(float a,
                      Vector vec2)
 o addScale
 public void addScale(float a,
                      Vector vec1,
                      Vector vec2)
 o sub
 public void sub(Vector vec2)
 o sub
 public void sub(Vector vec1,
                 Vector vec2)
 o scale
 public void scale(float a)
 o scale
 public void scale(float a,
                   Vector vec2)
 o copyFrom
 public void copyFrom(Vector src)
 o zero
 public void zero()
 o dot
 public float dot(Vector vec2)
 o norm2
 public float norm2()
 o norm
 public float norm()
 o toString
 public String toString()
Returns a string representation of the object.

Overrides:
toString in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index