public class Cartesian extends Object
Constructor and Description |
---|
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
|
Modifier and Type | Method and Description |
---|---|
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)
|
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 zpublic double getX()
public double getY()
public double getZ()
public double getXvel()
public double getYvel()
public double getZvel()
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.