public float ToWorld(float fScene) { StoredCommands sc = new StoredCommands(); uint key = sc.AppendQueryCommand_ConvertScalarToWorld(fScene); ExecuteCommands(sc); floatArray f = new floatArray(1); sc.GetQueryResult_ConvertScalarToWorld(key, f.cast()); return(f.getitem(0)); }