hep.geant4.jni
Class G4ThreeVector

java.lang.Object
  extended by hep.geant4.jni.G4ThreeVector
Direct Known Subclasses:
G4ParticleMomentum

public class G4ThreeVector
extends Object


Field Summary
static int NUM_COORDINATES
           
static int SIZE
           
protected  boolean swigCMemOwn
           
static int ToleranceTicks
           
static int X
           
static int Y
           
static int Z
           
 
Constructor Summary
  G4ThreeVector()
           
  G4ThreeVector(double x)
           
  G4ThreeVector(double x, double y)
           
  G4ThreeVector(double x, double y, double z)
           
  G4ThreeVector(G4ThreeVector arg0)
           
protected G4ThreeVector(long cPtr, boolean cMemoryOwn)
           
 
Method Summary
 G4ThreeVector add(G4ThreeVector arg0)
           
 double angle()
           
 double angle(G4ThreeVector arg0)
           
 double azimAngle(G4ThreeVector v2)
           
 double azimAngle(G4ThreeVector v2, G4ThreeVector ref)
           
 double beta()
           
 double coLinearRapidity()
           
 int compare(G4ThreeVector v)
           
 double cos2Theta()
           
 double cos2Theta(G4ThreeVector v2)
           
 double cosTheta()
           
 double cosTheta(G4ThreeVector v2)
           
 G4ThreeVector cross(G4ThreeVector arg0)
           
 void delete()
           
 double deltaPhi(G4ThreeVector v2)
           
 double deltaR(G4ThreeVector v)
           
 double diff2(G4ThreeVector v)
           
 G4ThreeVector div(double arg0)
           
 double dot(G4ThreeVector arg0)
           
 boolean equals(Object obj)
           
 double eta()
           
 double eta(G4ThreeVector v2)
           
protected  void finalize()
           
 double gamma()
           
protected static long getCPtr(G4ThreeVector obj)
           
 double getEta()
           
 double getPhi()
           
 double getR()
           
 double getRho()
           
 double getTheta()
           
static double getTolerance()
           
 double getX()
           
 double getY()
           
 double getZ()
           
 double howNear(G4ThreeVector v)
           
 double howOrthogonal(G4ThreeVector v)
           
 double howParallel(G4ThreeVector v)
           
 boolean isNear(G4ThreeVector arg0)
           
 boolean isNear(G4ThreeVector arg0, double epsilon)
           
 boolean isOrthogonal(G4ThreeVector v)
           
 boolean isOrthogonal(G4ThreeVector v, double epsilon)
           
 boolean isParallel(G4ThreeVector v)
           
 boolean isParallel(G4ThreeVector v, double epsilon)
           
 double mag()
           
 double mag2()
           
 G4ThreeVector mul(double arg0)
           
 G4ThreeVector mul(G4RotationMatrix arg0)
           
 G4ThreeVector orthogonal()
           
 double perp()
           
 double perp(G4ThreeVector arg0)
           
 double perp2()
           
 double perp2(G4ThreeVector arg0)
           
 G4ThreeVector perpPart()
           
 G4ThreeVector perpPart(G4ThreeVector v2)
           
 double phi()
           
 double polarAngle(G4ThreeVector v2)
           
 double polarAngle(G4ThreeVector v2, G4ThreeVector ref)
           
 G4ThreeVector project()
           
 G4ThreeVector project(G4ThreeVector v2)
           
 double pseudoRapidity()
           
 double r()
           
 double rapidity()
           
 double rapidity(G4ThreeVector v2)
           
 double rho()
           
 G4ThreeVector rotate(double phi, double theta, double psi)
           
 G4ThreeVector rotate(double arg0, G4ThreeVector arg1)
           
 G4ThreeVector rotate(G4ThreeVector axis, double delta)
           
 G4ThreeVector rotate(SWIGTYPE_p_CLHEP__HepAxisAngle ax)
           
 G4ThreeVector rotate(SWIGTYPE_p_CLHEP__HepEulerAngles e)
           
 G4ThreeVector rotateUz(G4ThreeVector arg0)
           
 G4ThreeVector rotateX(double arg0)
           
 G4ThreeVector rotateY(double arg0)
           
 G4ThreeVector rotateZ(double arg0)
           
 void set(double x, double y, double z)
           
 void setCylEta(double p)
           
 void setCylTheta(double arg0)
           
 void setEta(double p)
           
 void setMag(double arg0)
           
 void setPerp(double arg0)
           
 void setPhi(double arg0)
           
 void setR(double s)
           
 void setREtaPhi(double r, double eta, double phi)
           
 void setRho(double s)
           
 void setRhoPhiEta(double rho, double phi, double eta)
           
 void setRhoPhiTheta(double rho, double phi, double theta)
           
 void setRhoPhiZ(double rho, double phi, double z)
           
 void setRThetaPhi(double r, double theta, double phi)
           
 void setTheta(double arg0)
           
static double setTolerance(double tol)
           
 void setX(double arg0)
           
 void setY(double arg0)
           
 void setZ(double arg0)
           
 G4ThreeVector sub(G4ThreeVector arg0)
           
 double theta()
           
 double theta(G4ThreeVector v2)
           
 G4ThreeVector transform(G4RotationMatrix arg0)
           
 G4ThreeVector unit()
           
 double x()
           
 double y()
           
 double z()
           
 
Methods inherited from class java.lang.Object
clone, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

swigCMemOwn

protected boolean swigCMemOwn

X

public static final int X

Y

public static final int Y

Z

public static final int Z

NUM_COORDINATES

public static final int NUM_COORDINATES

SIZE

public static final int SIZE

ToleranceTicks

public static final int ToleranceTicks
Constructor Detail

G4ThreeVector

protected G4ThreeVector(long cPtr,
                        boolean cMemoryOwn)

G4ThreeVector

public G4ThreeVector(double x,
                     double y,
                     double z)

G4ThreeVector

public G4ThreeVector(double x,
                     double y)

G4ThreeVector

public G4ThreeVector(double x)

G4ThreeVector

public G4ThreeVector()

G4ThreeVector

public G4ThreeVector(G4ThreeVector arg0)
Method Detail

getCPtr

protected static long getCPtr(G4ThreeVector obj)

finalize

protected void finalize()
                 throws Throwable
Overrides:
finalize in class Object
Throws:
Throwable

delete

public void delete()

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

x

public double x()

y

public double y()

z

public double z()

setX

public void setX(double arg0)

setY

public void setY(double arg0)

setZ

public void setZ(double arg0)

set

public void set(double x,
                double y,
                double z)

phi

public double phi()

theta

public double theta()

cosTheta

public double cosTheta()

cos2Theta

public double cos2Theta()

mag2

public double mag2()

mag

public double mag()

setPhi

public void setPhi(double arg0)

setTheta

public void setTheta(double arg0)

setMag

public void setMag(double arg0)

perp2

public double perp2()

perp

public double perp()

setPerp

public void setPerp(double arg0)

setCylTheta

public void setCylTheta(double arg0)

perp2

public double perp2(G4ThreeVector arg0)

perp

public double perp(G4ThreeVector arg0)

isNear

public boolean isNear(G4ThreeVector arg0,
                      double epsilon)

isNear

public boolean isNear(G4ThreeVector arg0)

howNear

public double howNear(G4ThreeVector v)

deltaR

public double deltaR(G4ThreeVector v)

add

public G4ThreeVector add(G4ThreeVector arg0)

sub

public G4ThreeVector sub(G4ThreeVector arg0)

mul

public G4ThreeVector mul(double arg0)

div

public G4ThreeVector div(double arg0)

unit

public G4ThreeVector unit()

orthogonal

public G4ThreeVector orthogonal()

dot

public double dot(G4ThreeVector arg0)

cross

public G4ThreeVector cross(G4ThreeVector arg0)

angle

public double angle(G4ThreeVector arg0)

pseudoRapidity

public double pseudoRapidity()

setEta

public void setEta(double p)

setCylEta

public void setCylEta(double p)

rotateX

public G4ThreeVector rotateX(double arg0)

rotateY

public G4ThreeVector rotateY(double arg0)

rotateZ

public G4ThreeVector rotateZ(double arg0)

rotateUz

public G4ThreeVector rotateUz(G4ThreeVector arg0)

rotate

public G4ThreeVector rotate(double arg0,
                            G4ThreeVector arg1)

mul

public G4ThreeVector mul(G4RotationMatrix arg0)

transform

public G4ThreeVector transform(G4RotationMatrix arg0)

setRThetaPhi

public void setRThetaPhi(double r,
                         double theta,
                         double phi)

setREtaPhi

public void setREtaPhi(double r,
                       double eta,
                       double phi)

setRhoPhiZ

public void setRhoPhiZ(double rho,
                       double phi,
                       double z)

setRhoPhiTheta

public void setRhoPhiTheta(double rho,
                           double phi,
                           double theta)

setRhoPhiEta

public void setRhoPhiEta(double rho,
                         double phi,
                         double eta)

getX

public double getX()

getY

public double getY()

getZ

public double getZ()

getR

public double getR()

getTheta

public double getTheta()

getPhi

public double getPhi()

r

public double r()

rho

public double rho()

getRho

public double getRho()

eta

public double eta()

getEta

public double getEta()

setR

public void setR(double s)

setRho

public void setRho(double s)

compare

public int compare(G4ThreeVector v)

diff2

public double diff2(G4ThreeVector v)

setTolerance

public static double setTolerance(double tol)

getTolerance

public static double getTolerance()

isParallel

public boolean isParallel(G4ThreeVector v,
                          double epsilon)

isParallel

public boolean isParallel(G4ThreeVector v)

isOrthogonal

public boolean isOrthogonal(G4ThreeVector v,
                            double epsilon)

isOrthogonal

public boolean isOrthogonal(G4ThreeVector v)

howParallel

public double howParallel(G4ThreeVector v)

howOrthogonal

public double howOrthogonal(G4ThreeVector v)

beta

public double beta()

gamma

public double gamma()

coLinearRapidity

public double coLinearRapidity()

angle

public double angle()

theta

public double theta(G4ThreeVector v2)

cosTheta

public double cosTheta(G4ThreeVector v2)

cos2Theta

public double cos2Theta(G4ThreeVector v2)

project

public G4ThreeVector project()

project

public G4ThreeVector project(G4ThreeVector v2)

perpPart

public G4ThreeVector perpPart()

perpPart

public G4ThreeVector perpPart(G4ThreeVector v2)

rapidity

public double rapidity()

rapidity

public double rapidity(G4ThreeVector v2)

eta

public double eta(G4ThreeVector v2)

polarAngle

public double polarAngle(G4ThreeVector v2)

deltaPhi

public double deltaPhi(G4ThreeVector v2)

azimAngle

public double azimAngle(G4ThreeVector v2)

polarAngle

public double polarAngle(G4ThreeVector v2,
                         G4ThreeVector ref)

azimAngle

public double azimAngle(G4ThreeVector v2,
                        G4ThreeVector ref)

rotate

public G4ThreeVector rotate(G4ThreeVector axis,
                            double delta)

rotate

public G4ThreeVector rotate(SWIGTYPE_p_CLHEP__HepAxisAngle ax)

rotate

public G4ThreeVector rotate(SWIGTYPE_p_CLHEP__HepEulerAngles e)

rotate

public G4ThreeVector rotate(double phi,
                            double theta,
                            double psi)


Copyright © 2000-2007 FreeHEP. All Rights Reserved.