Contents
- Description
- Constructor Summary
- Method Summary
- Constructor Details
- Method Details
- x()
- y()
- z()
- setXYZ(double, double, double)
- rotateX(double)
- rotateY(double)
- rotateZ(double)
- setMagThetaPhi(double, double, double)
- setMag(double)
- mag2()
- mag()
- rho()
- theta()
- phi()
- add(Vector3)
- negative()
- sub(Vector3)
- compare(Vector3)
- dot(Vector3)
- cross(Vector3)
- theta(Vector3)
- copy(Vector3)
- unit()
- compareWeighted(Vector3)
- getXYZString()
- getMagThetaPhiString()
- toString()
Class Vector3
java.lang.Object
org.jlab.clas.physics.Vector3
- Author:
- gavalian
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
double
double
compareWeighted
(Vector3 vect) void
double
double
mag()
double
mag2()
void
negative()
double
phi()
double
rho()
void
rotateX
(double angle) void
rotateY
(double angle) void
rotateZ
(double angle) void
setMag
(double mag) void
setMagThetaPhi
(double mag, double theta, double phi) void
setXYZ
(double x, double y, double z) void
double
theta()
double
toString()
void
unit()
double
x()
double
y()
double
z()
-
Constructor Details
-
Method Details
-
x
public double x() -
y
public double y() -
z
public double z() -
setXYZ
public void setXYZ(double x, double y, double z) -
rotateX
public void rotateX(double angle) -
rotateY
public void rotateY(double angle) -
rotateZ
public void rotateZ(double angle) -
setMagThetaPhi
public void setMagThetaPhi(double mag, double theta, double phi) -
setMag
public void setMag(double mag) -
mag2
public double mag2() -
mag
public double mag() -
rho
public double rho() -
theta
public double theta() -
phi
public double phi() -
add
-
negative
public void negative() -
sub
-
compare
-
dot
-
cross
-
theta
-
copy
-
unit
public void unit() -
compareWeighted
-
getXYZString
-
getMagThetaPhiString
-
toString
-