public class Vector3 extends Object
Constructor and Description |
---|
Vector3() |
Vector3(double x,
double y,
double z) |
Vector3(Vector3 v) |
Modifier and Type | Method and Description |
---|---|
void |
add(double x,
double y,
double z) |
Vector3 |
add(Vector3 vector) |
double |
angle(Vector3 vec) |
double |
compare(Vector3 vect) |
double |
compareWeighted(Vector3 vect) |
void |
copy(Vector3 vect) |
Vector3 |
cross(Vector3 vect) |
double |
dot(Vector3 vect) |
static Vector3 |
from(Vector3 v) |
String |
getMagThetaPhiString() |
String |
getXYZString() |
void |
invert() |
double |
mag() |
double |
mag2() |
void |
negative() |
double |
phi() |
double |
rho() |
void |
rotateX(double angle) |
void |
rotateY(double angle) |
void |
rotateZ(double angle) |
void |
setMagThetaPhi(double mag,
double theta,
double phi) |
void |
setXYZ(double x,
double y,
double z) |
void |
sub(double x,
double y,
double z) |
Vector3 |
sub(Vector3 vector) |
double |
theta() |
String |
toString() |
void |
unit() |
double |
x() |
double |
y() |
double |
z() |
public Vector3(Vector3 v)
public Vector3()
public Vector3(double x, double y, double z)
public double x()
public double y()
public double z()
public void setXYZ(double x, double y, double z)
public void rotateX(double angle)
public void rotateY(double angle)
public void rotateZ(double angle)
public double angle(Vector3 vec)
public void setMagThetaPhi(double mag, double theta, double phi)
public double mag2()
public double mag()
public double rho()
public double theta()
public double phi()
public void add(double x, double y, double z)
public void negative()
public void sub(double x, double y, double z)
public double compare(Vector3 vect)
public double dot(Vector3 vect)
public void copy(Vector3 vect)
public void unit()
public void invert()
public double compareWeighted(Vector3 vect)
public String getXYZString()
public String getMagThetaPhiString()
Jas4pp 1.5 © Java Analysis Studio for Particle Physics