45 : voxelSize(ddx, ddy, ddz), motherSize(ddx*nx, ddy*ny, ddz*nz)
67 G4int nxy= nvoxels[0]*nvoxels[1];
69 G4int ixy= copyNo - iz*nxy;
70 G4int iy= ixy/nvoxels[0];
71 G4int ix= ixy-iy*nvoxels[0];
74 G4double px= voxelSize[0]*(ix+0.5) - motherSize[0]/2.;
75 G4double py= voxelSize[1]*(iy+0.5) - motherSize[1]/2.;
76 G4double pz= voxelSize[2]*(iz+0.5) - motherSize[2]/2.;
~G4EzVoxelParameterization()
CLHEP::Hep3Vector G4ThreeVector
virtual void ComputeDimensions(G4Box &aBox, const G4int copyNo, const G4VPhysicalVolume *physVol) const
virtual void ComputeTransformation(const G4int copyNo, G4VPhysicalVolume *physVol) const
G4EzVoxelParameterization(G4double ddx, G4double ddy, G4double ddz, G4int nx, G4int ny, G4int nz)