hep.geant4.jni
Class G4Trd

java.lang.Object
  extended by hep.geant4.jni.G4VSolid
      extended by hep.geant4.jni.G4CSGSolid
          extended by hep.geant4.jni.G4Trd

public class G4Trd
extends G4CSGSolid


Field Summary
 
Fields inherited from class hep.geant4.jni.G4VSolid
swigCMemOwn
 
Constructor Summary
G4Trd(long cPtr, boolean cMemoryOwn)
           
G4Trd(String pName, double pdx1, double pdx2, double pdy1, double pdy2, double pdz)
           
G4Trd(SWIGTYPE_p___void__ arg0)
           
 
Method Summary
 boolean calculateExtent(EAxis pAxis, G4VoxelLimits pVoxelLimit, G4AffineTransform pTransform, SWIGTYPE_p_double pMin, SWIGTYPE_p_double pMax)
           
 void checkAndSetAllParameters(double pdx1, double pdx2, double pdy1, double pdy2, double pdz)
           
 void computeDimensions(G4VPVParameterisation p, int n, G4VPhysicalVolume pRep)
           
 G4NURBS createNURBS()
           
 G4Polyhedron createPolyhedron()
           
 void delete()
           
 void describeYourselfTo(G4VGraphicsScene scene)
           
 double distanceToIn(G4ThreeVector p)
           
 double distanceToIn(G4ThreeVector p, G4ThreeVector v)
           
 double distanceToOut(G4ThreeVector p)
           
 double distanceToOut(G4ThreeVector p, G4ThreeVector v)
           
 double distanceToOut(G4ThreeVector p, G4ThreeVector v, boolean calcNorm)
           
 double distanceToOut(G4ThreeVector p, G4ThreeVector v, boolean calcNorm, SWIGTYPE_p_bool validNorm)
           
 double distanceToOut(G4ThreeVector p, G4ThreeVector v, boolean calcNorm, SWIGTYPE_p_bool validNorm, G4ThreeVector n)
           
 boolean equals(Object obj)
           
protected  void finalize()
           
static long getCPtr(G4Trd obj)
           
 double getCubicVolume()
           
 String getEntityType()
           
 G4ThreeVector getPointOnSurface()
           
 double getXHalfLength1()
           
 double getXHalfLength2()
           
 double getYHalfLength1()
           
 double getYHalfLength2()
           
 double getZHalfLength()
           
 EInside inside(G4ThreeVector p)
           
 void setAllParameters(double pdx1, double pdx2, double pdy1, double pdy2, double pdz)
           
 void setXHalfLength1(double val)
           
 void setXHalfLength2(double val)
           
 void setYHalfLength1(double val)
           
 void setYHalfLength2(double val)
           
 void setZHalfLength(double val)
           
 G4ThreeVector surfaceNormal(G4ThreeVector p)
           
 
Methods inherited from class hep.geant4.jni.G4CSGSolid
getCPtr, getPolyhedron
 
Methods inherited from class hep.geant4.jni.G4VSolid
dumpInfo, getConstituentSolid, getCPtr, getDisplacedSolidPtr, getExtent, getName, setName
 
Methods inherited from class java.lang.Object
clone, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

G4Trd

public G4Trd(long cPtr,
             boolean cMemoryOwn)

G4Trd

public G4Trd(String pName,
             double pdx1,
             double pdx2,
             double pdy1,
             double pdy2,
             double pdz)

G4Trd

public G4Trd(SWIGTYPE_p___void__ arg0)
Method Detail

getCPtr

public static long getCPtr(G4Trd obj)

finalize

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

delete

public void delete()
Overrides:
delete in class G4CSGSolid

equals

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

getXHalfLength1

public double getXHalfLength1()

getXHalfLength2

public double getXHalfLength2()

getYHalfLength1

public double getYHalfLength1()

getYHalfLength2

public double getYHalfLength2()

getZHalfLength

public double getZHalfLength()

getCubicVolume

public double getCubicVolume()
Overrides:
getCubicVolume in class G4VSolid

setXHalfLength1

public void setXHalfLength1(double val)

setXHalfLength2

public void setXHalfLength2(double val)

setYHalfLength1

public void setYHalfLength1(double val)

setYHalfLength2

public void setYHalfLength2(double val)

setZHalfLength

public void setZHalfLength(double val)

computeDimensions

public void computeDimensions(G4VPVParameterisation p,
                              int n,
                              G4VPhysicalVolume pRep)
Overrides:
computeDimensions in class G4VSolid

calculateExtent

public boolean calculateExtent(EAxis pAxis,
                               G4VoxelLimits pVoxelLimit,
                               G4AffineTransform pTransform,
                               SWIGTYPE_p_double pMin,
                               SWIGTYPE_p_double pMax)
Overrides:
calculateExtent in class G4VSolid

inside

public EInside inside(G4ThreeVector p)
Overrides:
inside in class G4VSolid

surfaceNormal

public G4ThreeVector surfaceNormal(G4ThreeVector p)
Overrides:
surfaceNormal in class G4VSolid

distanceToIn

public double distanceToIn(G4ThreeVector p,
                           G4ThreeVector v)
Overrides:
distanceToIn in class G4VSolid

distanceToIn

public double distanceToIn(G4ThreeVector p)
Overrides:
distanceToIn in class G4VSolid

distanceToOut

public double distanceToOut(G4ThreeVector p,
                            G4ThreeVector v,
                            boolean calcNorm,
                            SWIGTYPE_p_bool validNorm,
                            G4ThreeVector n)
Overrides:
distanceToOut in class G4VSolid

distanceToOut

public double distanceToOut(G4ThreeVector p,
                            G4ThreeVector v,
                            boolean calcNorm,
                            SWIGTYPE_p_bool validNorm)
Overrides:
distanceToOut in class G4VSolid

distanceToOut

public double distanceToOut(G4ThreeVector p,
                            G4ThreeVector v,
                            boolean calcNorm)
Overrides:
distanceToOut in class G4VSolid

distanceToOut

public double distanceToOut(G4ThreeVector p,
                            G4ThreeVector v)
Overrides:
distanceToOut in class G4VSolid

distanceToOut

public double distanceToOut(G4ThreeVector p)
Overrides:
distanceToOut in class G4VSolid

checkAndSetAllParameters

public void checkAndSetAllParameters(double pdx1,
                                     double pdx2,
                                     double pdy1,
                                     double pdy2,
                                     double pdz)

setAllParameters

public void setAllParameters(double pdx1,
                             double pdx2,
                             double pdy1,
                             double pdy2,
                             double pdz)

getEntityType

public String getEntityType()
Overrides:
getEntityType in class G4VSolid

getPointOnSurface

public G4ThreeVector getPointOnSurface()
Overrides:
getPointOnSurface in class G4VSolid

describeYourselfTo

public void describeYourselfTo(G4VGraphicsScene scene)
Overrides:
describeYourselfTo in class G4VSolid

createPolyhedron

public G4Polyhedron createPolyhedron()
Overrides:
createPolyhedron in class G4VSolid

createNURBS

public G4NURBS createNURBS()
Overrides:
createNURBS in class G4VSolid


Copyright © 2000-2007 FreeHEP. All Rights Reserved.