hep.geant4.jni
Class G4Ray

java.lang.Object
  extended by hep.geant4.jni.G4Ray

public class G4Ray
extends Object


Field Summary
protected  boolean swigCMemOwn
           
 
Constructor Summary
G4Ray()
           
G4Ray(G4Point3D start0, G4Vector3D dir0)
           
G4Ray(long cPtr, boolean cMemoryOwn)
           
 
Method Summary
static int calcPlane3Pts(G4Plane plane, G4Point3D a, G4Point3D b, G4Point3D c)
           
 void createPlanes()
           
 void delete()
           
 boolean equals(Object obj)
           
protected  void finalize()
           
static long getCPtr(G4Ray obj)
           
 G4Vector3D getDir()
           
 G4Plane getPlane(int number_of_plane)
           
 G4Point3D getPoint(double i)
           
 double getPPoint(G4Point3D p)
           
 G4Point3D getStart()
           
 void init(G4Point3D start0, G4Vector3D dir0)
           
static double magnitude(G4Plane a)
           
static double magsq(G4Plane a)
           
 void matVecOrtho(G4Vector3D out, G4Vector3D in)
           
 int nearZero(double val, double epsilon)
           
 double p2(double x)
           
 void rayCheck()
           
 void setDir(G4Vector3D dir0)
           
 void setStart(G4Point3D start0)
           
static void vadd2(G4Point3D a, G4Point3D b, G4Vector3D c)
           
static void vcross(G4Plane a, G4Vector3D b, G4Vector3D c)
           
static void vcross(G4Vector3D a, G4Vector3D b, G4Vector3D c)
           
static double vdot(G4Plane a, G4Point3D b)
           
static void vmove(G4Point3D a, G4Point3D b)
           
static void vscale(G4Plane a, G4Plane b, double c)
           
 void vsetall(G4Vector3D a, double s)
           
static void vsub2(G4Vector3D a, G4Point3D b, G4Point3D c)
           
 
Methods inherited from class java.lang.Object
clone, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

swigCMemOwn

protected boolean swigCMemOwn
Constructor Detail

G4Ray

public G4Ray(long cPtr,
             boolean cMemoryOwn)

G4Ray

public G4Ray()

G4Ray

public G4Ray(G4Point3D start0,
             G4Vector3D dir0)
Method Detail

getCPtr

public static long getCPtr(G4Ray 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

getPoint

public G4Point3D getPoint(double i)

getPPoint

public double getPPoint(G4Point3D p)

getDir

public G4Vector3D getDir()

getStart

public G4Point3D getStart()

setDir

public void setDir(G4Vector3D dir0)

setStart

public void setStart(G4Point3D start0)

getPlane

public G4Plane getPlane(int number_of_plane)

rayCheck

public void rayCheck()

createPlanes

public void createPlanes()

calcPlane3Pts

public static int calcPlane3Pts(G4Plane plane,
                                G4Point3D a,
                                G4Point3D b,
                                G4Point3D c)

p2

public double p2(double x)

nearZero

public int nearZero(double val,
                    double epsilon)

matVecOrtho

public void matVecOrtho(G4Vector3D out,
                        G4Vector3D in)

vsetall

public void vsetall(G4Vector3D a,
                    double s)

vcross

public static void vcross(G4Plane a,
                          G4Vector3D b,
                          G4Vector3D c)

vcross

public static void vcross(G4Vector3D a,
                          G4Vector3D b,
                          G4Vector3D c)

vmove

public static void vmove(G4Point3D a,
                         G4Point3D b)

vadd2

public static void vadd2(G4Point3D a,
                         G4Point3D b,
                         G4Vector3D c)

vsub2

public static void vsub2(G4Vector3D a,
                         G4Point3D b,
                         G4Point3D c)

vscale

public static void vscale(G4Plane a,
                          G4Plane b,
                          double c)

vdot

public static double vdot(G4Plane a,
                          G4Point3D b)

magsq

public static double magsq(G4Plane a)

magnitude

public static double magnitude(G4Plane a)

init

public void init(G4Point3D start0,
                 G4Vector3D dir0)


Copyright © 2000-2007 FreeHEP. All Rights Reserved.