hep.physics.vec
Interface Hep3Vector

All Known Implementing Classes:
BasicHep3Vector, SpacePoint

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.

Version:
$Id: Hep3Vector.java 9130 2006-10-13 00:02:39Z tonyj $
Author:
Gary Bower (grb@slac.stanford.edu)
See Also:
VecOp, BasicHep3Vector

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

double x()

y

double y()

z

double z()

magnitude

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


magnitudeSquared

double magnitudeSquared()
The square of the length


v

double[] v()


Copyright © 2000-2010 FreeHEP. All Rights Reserved.