TPTP 4.6.0 Platform Project
Internal API Specification

org.eclipse.tptp.platform.report.igc.util.internal
Class Vector

java.lang.Object
  extended by org.eclipse.tptp.platform.report.igc.util.internal.Vector
All Implemented Interfaces:
IVector

Deprecated. As of TPTP 4.5.0, use the TPTP Business Intelligence and Reporting Tools (BIRT) reporting infrastructure (org.eclipse.tptp.platform.report.birt).

public class Vector
extends java.lang.Object
implements IVector

Simple implementation of an IVector


Field Summary
protected  double n_
          Deprecated.  
protected  double x_
          Deprecated.  
protected  double y_
          Deprecated.  
 
Constructor Summary
Vector()
          Deprecated.  
Vector(double x, double y)
          Deprecated.  
Vector(IVector v)
          Deprecated.  
 
Method Summary
 double getNorm()
          Deprecated.  
 double getX()
          Deprecated.  
 double getY()
          Deprecated.  
 void normalize()
          Deprecated. set vector norm to 1.0
 void setVector(double x, double y)
          Deprecated. Change both coordinates
 void setVector(IVector p)
          Deprecated. Change both coordinates
 void setX(double x)
          Deprecated. Change X coordinate of vector
 void setY(double y)
          Deprecated. Change Y coordinate of vector
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

x_

protected double x_
Deprecated. 

y_

protected double y_
Deprecated. 

n_

protected double n_
Deprecated. 
Constructor Detail

Vector

public Vector()
Deprecated. 

Vector

public Vector(double x,
              double y)
Deprecated. 

Vector

public Vector(IVector v)
Deprecated. 
Method Detail

getX

public double getX()
Deprecated. 
Specified by:
getX in interface IVector
Returns:
X coordinate of vector

getY

public double getY()
Deprecated. 
Specified by:
getY in interface IVector
Returns:
Y coordinate of vector

setX

public void setX(double x)
Deprecated. 
Description copied from interface: IVector
Change X coordinate of vector

Specified by:
setX in interface IVector

setY

public void setY(double y)
Deprecated. 
Description copied from interface: IVector
Change Y coordinate of vector

Specified by:
setY in interface IVector

setVector

public void setVector(IVector p)
Deprecated. 
Description copied from interface: IVector
Change both coordinates

Specified by:
setVector in interface IVector

setVector

public void setVector(double x,
                      double y)
Deprecated. 
Description copied from interface: IVector
Change both coordinates

Specified by:
setVector in interface IVector

getNorm

public double getNorm()
Deprecated. 
Specified by:
getNorm in interface IVector
Returns:
vector's norm

normalize

public void normalize()
Deprecated. 
Description copied from interface: IVector
set vector norm to 1.0

Specified by:
normalize in interface IVector

TPTP 4.6.0 Platform Project
Internal API Specification