FreeHEP API
Version current

hep.physics.vec
Interface Hep3Vector

All Known Implementing Classes:
BasicHep3Vector

public interface Hep3Vector

Interface to be implemented by 3 Vectors. This interface is deliberately kept simple to minimize the work needed to implement it. Operations for operating on vectors can be found in class VecOp.

Author:
Gary Bower (grb@slac.stanford.edu)
See Also:
VecOp, BasicHep3Vector
Source Code:
Hep3Vector.java

Method Summary
 double magnitude()
          The length of the 3-vector.
 double magnitudeSquared()
          The square of the length
 double[] v()
           
 double x()
           
 double y()
           
 double z()
           
 

Method Detail

x

public double x()

y

public double y()

z

public double z()

magnitude

public double magnitude()
The length of the 3-vector.


magnitudeSquared

public double magnitudeSquared()
The square of the length


v

public double[] v()

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.