grid.cpp File Reference

#include <iostream>
#include <fstream>
#include <stdlib.h>
#include <algorithm>
#include <sstream>
#include <valarray>
#include <time.h>
#include <math.h>
#include "r250.h"
#include "grid.h"

Include dependency graph for grid.cpp:

Go to the source code of this file.

Functions

float RandG (int, int)
 A wrapper function for your favourite random number generator.
bool operator< (const xyC &a, const xyC &b)
 The sort-function needs a relational operator for the class.
std::string itoa (int value)


Function Documentation

std::string itoa ( int  value  ) 

C++ version std::string style "itoa": http://www.jb.man.ac.uk/~slowe/cpp/itoa.html

Definition at line 28 of file grid.cpp.

Referenced by TGrid::writeFile().

bool operator< ( const xyC a,
const xyC b 
)

The sort-function needs a relational operator for the class.

Definition at line 19 of file grid.cpp.

References xyC::height.

float RandG ( int  ,
int   
)

A wrapper function for your favourite random number generator.

Definition at line 16 of file grid.cpp.

References dr250().

Referenced by TGrid::createMountain(), TGrid::f3(), and TGrid::f4().

Here is the call graph for this function:


Generated on Tue Mar 11 11:02:39 2008 for Wadiscape Generator by  doxygen 1.5.1