|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.starlink.pal.Cartesian
public class Cartesian
Cartesian Point in 2D or 3D space
Constructor Summary | |
---|---|
Cartesian(double a,
double b)
Cartesian Point in 2D space |
|
Cartesian(double a,
double b,
double c)
Cartesian Point in 3D space |
|
Cartesian(double a,
double b,
double c,
double aa,
double bb,
double cc)
Cartesian Point in 3D space and its derivitive |
Method Summary | |
---|---|
double |
getX()
Get the x component |
double |
getXvel()
Get the first derivitive of x ( velocity) |
double |
getY()
Get the y component |
double |
getYvel()
Get the first derivitive of y ( velocity) |
double |
getZ()
Get the z component |
double |
getZvel()
Get the first derivitive of z ( velocity) |
String |
toString()
Get the value of the point as a string of the form (x,y,z) and the velocity (if set) in the form (aa,bb,cc) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Cartesian(double a, double b)
a
- x componentb
- y componentpublic Cartesian(double a, double b, double c)
a
- x componentb
- y componentc
- z componentpublic Cartesian(double a, double b, double c, double aa, double bb, double cc)
a
- x componentb
- y componentc
- z componentaa
- first derivitive of xbb
- first derivitive of ycc
- first derivitive of zMethod Detail |
---|
public double getX()
public double getY()
public double getZ()
public double getXvel()
public double getYvel()
public double getZvel()
public String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |