public class SpacePointVector extends SpacePoint implements Serializable, Cloneable
The point and vector stored in a space vector cannot be modified except by assignment from another space vector.
Transformations (translations, rotations, etc) are not provided. It is expected these will be carried out by external functions which return new SpacePointVector objects.
The three orthogonal coordinate systems are defined in the usual way:
|
|
|
|
Modifier and Type | Field and Description |
---|---|
(package private) double |
_vx |
(package private) double |
_vy |
(package private) double |
_vz |
Constructor and Description |
---|
SpacePointVector()
//Default Constructor
|
SpacePointVector(SpacePoint spt)
SpacePointVector
Constructor from a space point.
|
SpacePointVector(SpacePointVector spv) |
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Clone
|
boolean |
equals(SpacePointVector spv) |
double |
magnitude()
magnitude
|
boolean |
notEquals(SpacePointVector spv) |
String |
toString()
Output Stream
|
double |
v_phi()
v_phi
|
double |
v_rxy()
v_rxy
|
double |
v_rxyz()
v_rxyz
|
double |
v_theta()
v_theta
|
double |
v_x()
v_x
|
double |
v_y()
v_y
|
double |
v_z()
v_z
|
public SpacePointVector()
public SpacePointVector(SpacePoint spt)
spt
- public SpacePointVector(SpacePointVector spv)
public Object clone()
SpacePoint
clone
in class SpacePoint
public double v_x()
public double v_y()
public double v_z()
public double v_rxy()
public double v_phi()
public double v_rxyz()
public double v_theta()
public double magnitude()
public boolean equals(SpacePointVector spv)
public boolean notEquals(SpacePointVector spv)
spv
- public String toString()
SpacePoint
toString
in class SpacePoint
Copyright © 2016 Linear Collider Detector (LCD). All rights reserved.