|
jET |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.jet.sce.BasePoint
Base point is the editor handler. New tracks and switches are appended to it.
Constructor Summary | |
BasePoint(javax.vecmath.Point3d p,
double alpha,
double beta)
Constructs new base point with specified coordinates and zeroed vector. |
|
BasePoint(javax.vecmath.Point3d p,
javax.vecmath.Vector3d v)
Constructs new base point with specified coordinates. |
Method Summary | |
boolean |
equals(java.lang.Object o)
Equality test. |
double |
getAlpha()
Computes an angle between vector and Z axis. |
double |
getBeta()
Computes an angle between vector and XZ plate. |
javax.vecmath.Point3d |
getPoint()
Gets the point. |
javax.vecmath.Vector3d |
getVector()
Gets the vector. |
java.lang.String |
toString()
Returns string representation of object. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public BasePoint(javax.vecmath.Point3d p, javax.vecmath.Vector3d v)
p
- 3D point.v
- 3D vector.public BasePoint(javax.vecmath.Point3d p, double alpha, double beta)
p
- 3D point.alpha
- Angle between vector and Z axis.beta
- Angle between vector and XZ plate. The angle must be in
range Method Detail |
public javax.vecmath.Point3d getPoint()
public javax.vecmath.Vector3d getVector()
public double getAlpha()
public double getBeta()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- Object to compare with.
True
when base points equal.
|
jET |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |