// This code implementation is the intellectual property of // the GEANT4 collaboration. // // By copying, distributing or modifying the Program (or any work // based on the Program) you indicate your acceptance of this statement, // and all its terms. // // $Id: G4VMarker.icc,v 1.5 2001/02/03 18:29:46 johna Exp $ // GEANT4 tag $Name: geant4-03-01 $ // // inline G4Point3D G4VMarker::GetPosition () const { return fPosition; } inline G4double G4VMarker::GetWorldSize () const { return fWorldSize; } inline G4double G4VMarker::GetWorldDiameter () const { return fWorldSize; } inline G4double G4VMarker::GetWorldRadius () const { return fWorldSize / 2.; } inline G4double G4VMarker::GetScreenSize () const { return fScreenSize; } inline G4double G4VMarker::GetScreenDiameter () const { return fScreenSize; } inline G4double G4VMarker::GetScreenRadius () const { return fScreenSize / 2.; } inline G4VMarker::FillStyle G4VMarker::GetFillStyle () const { return fFillStyle; } inline void G4VMarker::SetPosition (const G4Point3D& pos) { fPosition = pos; } inline void G4VMarker::SetWorldSize (G4double ws) { fWorldSize = ws; } inline void G4VMarker::SetWorldDiameter (G4double wd) { fWorldSize = wd; } inline void G4VMarker::SetWorldRadius (G4double wr) { fWorldSize = 2. * wr; } inline void G4VMarker::SetScreenSize (G4double ss) { fWorldSize = 0.; fScreenSize = ss; } inline void G4VMarker::SetScreenDiameter (G4double sd) { fWorldSize = 0.; fScreenSize = sd; } inline void G4VMarker::SetScreenRadius (G4double sr) { fWorldSize = 0.; fScreenSize = 2. * sr; } inline void G4VMarker::SetFillStyle (G4VMarker::FillStyle style) { fFillStyle = style; }