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()voidInitializes the shape for the G4Trap volume.voidsetMaterial(G4Material mat) Methods inherited from class G4BaseVolume
addRoration, addRotation, addTranslation, gemcString, getDetector, getName, getParent, setDescription
-
Constructor Details
-
G4Trd
-
-
Method Details
-
initShape
public void initShape()Initializes the shape for the G4Trap volume. -
getShape
- Specified by:
getShapein interfaceIG4Volume- Overrides:
getShapein classG4BaseVolume
-
getPoints
-
getFaces
public int[] getFaces()returns array with the faces based on the points.- Specified by:
getFacesin interfaceIG4Volume- Overrides:
getFacesin classG4BaseVolume- Returns:
-
getMeshFaces
public int[] getMeshFaces()Returns array of faces with texture map.- Specified by:
getMeshFacesin interfaceIG4Volume- Overrides:
getMeshFacesin classG4BaseVolume- Returns:
-
getMeshPoints
public float[] getMeshPoints()- Specified by:
getMeshPointsin interfaceIG4Volume- Overrides:
getMeshPointsin classG4BaseVolume
-
getMaterial
- Specified by:
getMaterialin interfaceIG4Volume- Overrides:
getMaterialin classG4BaseVolume
-
setMaterial
- Specified by:
setMaterialin interfaceIG4Volume- Overrides:
setMaterialin classG4BaseVolume
-