public float ToScene(float fWorld) { StoredCommands sc = new StoredCommands(); uint key = sc.AppendQueryCommand_ConvertScalarToScene(fWorld); ExecuteCommands(sc); floatArray f = new floatArray(1); sc.GetQueryResult_ConvertScalarToScene(key, f.cast()); return(f.getitem(0)); }