NAME

findTileOnDisk - Looks for specified tile in the file Index

SYNOPSIS

#include "topo/index.h"

Example compile flags (system dependent):
  -DLINUX_X86_64 -DLINUX_X86_64_OPTERON  -DGNU_COMPILER 
   -I/home/kobus/include
   -L/home/kobus/misc/load/linux_x86_64_opteron -L/usr/lib/x86_64-linux-gnu
  -lKJB                               -lfftw3  -lgsl -lgslcblas -ljpeg  -lSVM -lstdc++                    -lpthread -lSLATEC -lg2c    -lacml -lacml_mv -lblas -lg2c      -lncursesw 


int findTileOnDisk
(
	int x,
	int y,
	int typ,
	char zone
);

PARAMETERS

int x
UTM easting of location to test for tile presence
int y
UTM northing of location to test for tile presence
int typ
Tileset of the tile we seek
char zone
UTM zone of location to test for tile presence

DESCRIPTION

This looks for specified tile in the file Index using linear time search. This and all file cache functions are NOT reentrant, because they access static structures.

RETURNS

TRUE if found, FALSE otherwise

DISCLAIMER

This software is not adequatedly tested. It is recomended that results are checked independantly where appropriate.

AUTHOR

Scott Morris

DOCUMENTER

Andrew Predoehl

SEE ALSO

initIndexFile , closeIndexFile , addIndexEntry , getTileFromDisk , invalidateEntry