MCPcopy Create free account
hub / github.com/Geant4/geant4 / ConvertToString

Method ConvertToString

source/visualization/management/src/G4VVisCommand.cc:82–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80}
81
82G4String G4VVisCommand::ConvertToString
83(G4double x, G4double y, const char * unitName)
84{
85 G4double uv = G4UIcommand::ValueOf(unitName);
86
87 std::ostringstream oss;
88 oss << x/uv << " " << y/uv << " " << unitName;
89 return oss.str();
90}
91
92G4bool G4VVisCommand::ConvertToDoublePair(const G4String& paramString,
93 G4double& xval,

Callers 4

GetCurrentValueMethod · 0.45
GetCurrentValueMethod · 0.45
GetCurrentValueMethod · 0.45
GetCurrentValueMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected