hep.geant4.jni
Class G4Sphere

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

public class G4Sphere
extends G4CSGSolid


Field Summary
 
Fields inherited from class hep.geant4.jni.G4VSolid
swigCMemOwn
 
Constructor Summary
G4Sphere(long cPtr, boolean cMemoryOwn)
           
G4Sphere(String pName, double pRmin, double pRmax, double pSPhi, double pDPhi, double pSTheta, double pDTheta)
           
G4Sphere(SWIGTYPE_p___void__ arg0)
           
 
Method Summary
 boolean calculateExtent(EAxis pAxis, G4VoxelLimits pVoxelLimit, G4AffineTransform pTransform, SWIGTYPE_p_double pmin, SWIGTYPE_p_double pmax)
           
 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(G4Sphere obj)
           
 double getCubicVolume()
           
 double getDeltaPhiAngle()
           
 double getDeltaThetaAngle()
           
 double getDPhi()
           
 double getDTheta()
           
 String getEntityType()
           
 G4VisExtent getExtent()
           
 double getInsideRadius()
           
 double getOuterRadius()
           
 G4ThreeVector getPointOnSurface()
           
 double getRmax()
           
 double getRmin()
           
 double getSPhi()
           
 double getStartPhiAngle()
           
 double getStartThetaAngle()
           
 double getSTheta()
           
 EInside inside(G4ThreeVector p)
           
 void setDeltaPhiAngle(double newDphi)
           
 void setDeltaThetaAngle(double newDTheta)
           
 void setInsideRadius(double newRmin)
           
 void setOuterRadius(double newRmax)
           
 void setStartPhiAngle(double newSphi)
           
 void setStartThetaAngle(double newSTheta)
           
 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, getName, setName
 
Methods inherited from class java.lang.Object
clone, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

G4Sphere

public G4Sphere(long cPtr,
                boolean cMemoryOwn)

G4Sphere

public G4Sphere(String pName,
                double pRmin,
                double pRmax,
                double pSPhi,
                double pDPhi,
                double pSTheta,
                double pDTheta)

G4Sphere

public G4Sphere(SWIGTYPE_p___void__ arg0)
Method Detail

getCPtr

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

getInsideRadius

public double getInsideRadius()

getOuterRadius

public double getOuterRadius()

getStartPhiAngle

public double getStartPhiAngle()

getDeltaPhiAngle

public double getDeltaPhiAngle()

getStartThetaAngle

public double getStartThetaAngle()

getDeltaThetaAngle

public double getDeltaThetaAngle()

getCubicVolume

public double getCubicVolume()
Overrides:
getCubicVolume in class G4VSolid

setInsideRadius

public void setInsideRadius(double newRmin)

setOuterRadius

public void setOuterRadius(double newRmax)

setStartPhiAngle

public void setStartPhiAngle(double newSphi)

setDeltaPhiAngle

public void setDeltaPhiAngle(double newDphi)

setStartThetaAngle

public void setStartThetaAngle(double newSTheta)

setDeltaThetaAngle

public void setDeltaThetaAngle(double newDTheta)

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

getEntityType

public String getEntityType()
Overrides:
getEntityType in class G4VSolid

getPointOnSurface

public G4ThreeVector getPointOnSurface()
Overrides:
getPointOnSurface in class G4VSolid

getExtent

public G4VisExtent getExtent()
Overrides:
getExtent 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

getRmin

public double getRmin()

getRmax

public double getRmax()

getSPhi

public double getSPhi()

getDPhi

public double getDPhi()

getSTheta

public double getSTheta()

getDTheta

public double getDTheta()


Copyright © 2000-2007 FreeHEP. All Rights Reserved.