Contents
Class G4Trd
java.lang.Object
org.jlab.geom.geant.G4BaseVolume
org.jlab.geom.geant.G4Trd
- All Implemented Interfaces:
IG4Volume
- Author:
- gavalian
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint[]
getFaces()
returns array with the faces based on the points.int[]
Returns array of faces with texture map.float[]
getShape()
void
Initializes the shape for the G4Trap volume.void
setMaterial
(G4Material mat) Methods inherited from class org.jlab.geom.geant.G4BaseVolume
addRoration, addRotation, addTranslation, gemcString, getDetector, getName, getParent, setDescription
-
Constructor Details
-
Method Details
-
initShape
public void initShape()Initializes the shape for the G4Trap volume. -
getShape
- Specified by:
getShape
in interfaceIG4Volume
- Overrides:
getShape
in classG4BaseVolume
-
getPoints
-
getFaces
public int[] getFaces()returns array with the faces based on the points.- Specified by:
getFaces
in interfaceIG4Volume
- Overrides:
getFaces
in classG4BaseVolume
- Returns:
-
getMeshFaces
public int[] getMeshFaces()Returns array of faces with texture map.- Specified by:
getMeshFaces
in interfaceIG4Volume
- Overrides:
getMeshFaces
in classG4BaseVolume
- Returns:
-
getMeshPoints
public float[] getMeshPoints()- Specified by:
getMeshPoints
in interfaceIG4Volume
- Overrides:
getMeshPoints
in classG4BaseVolume
-
getMaterial
- Specified by:
getMaterial
in interfaceIG4Volume
- Overrides:
getMaterial
in classG4BaseVolume
-
setMaterial
- Specified by:
setMaterial
in interfaceIG4Volume
- Overrides:
setMaterial
in classG4BaseVolume
-