// 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.4 1999/12/16 15:22:05 johna Exp $
// GEANT4 tag $Name: geant4-02-00 $
//
// 

inline G4VMarker::G4VMarker ():
  fPosition   (G4Point3D ()),
  fWorldSize  (0.),
  fScreenSize (0.),
  fFillStyle  (noFill),
  fInfo()
{}

inline G4VMarker::G4VMarker (const G4VMarker& marker):
  G4VVisPrim  (marker),
  fPosition   (marker.fPosition),
  fWorldSize  (marker.fWorldSize),
  fScreenSize (marker.fScreenSize),
  fFillStyle  (marker.fFillStyle),
  fInfo       (marker.fInfo)
{}  

inline G4VMarker::G4VMarker (const G4Point3D& pos):
  fPosition   (pos),
  fWorldSize  (0.),
  fScreenSize (0.),
  fFillStyle  (noFill),
  fInfo       ()
{}

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;
}


