|
TPTP 4.6.0 Platform Project Internal API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.tptp.platform.report.igc.util.internal.Vector
org.eclipse.tptp.platform.report.birt).
public class Vector
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 |
|---|
protected double x_
protected double y_
protected double n_
| Constructor Detail |
|---|
public Vector()
public Vector(double x,
double y)
public Vector(IVector v)
| Method Detail |
|---|
public double getX()
getX in interface IVectorpublic double getY()
getY in interface IVectorpublic void setX(double x)
IVector
setX in interface IVectorpublic void setY(double y)
IVector
setY in interface IVectorpublic void setVector(IVector p)
IVector
setVector in interface IVector
public void setVector(double x,
double y)
IVector
setVector in interface IVectorpublic double getNorm()
getNorm in interface IVectorpublic void normalize()
IVector
normalize in interface IVector
|
TPTP 4.6.0 Platform Project Internal API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||