Main Page   Compound List   File List   Compound Members   File Members  

EightNbr.h File Reference

Routines for iterating over neighborhoods with eight degrees of freedom. More...

#include <stdlib.h>

Go to the source code of this file.

Defines

#define EIGHTNBR_NUM_NBR_CELLS   (8)
 identifies number of neigbors associated with a cell. More...

#define EIGHTNBR_ROW_INDEX_AT_AZIMUTH(i, azimuth)    ((i) + egtnbr_row[azimuth])
 macro used to retrieve nbr cell index at various azimuths. More...

#define EIGHTNBR_COL_INDEX_AT_AZIMUTH(j, azimuth)    ((j) + egtnbr_col[azimuth])
 macro used to retrieve nbr cell index at various azimuths. More...

#define EIGHTNBR_AZIMUTH_AS_DBL(azimuth)    (egtnbr_az[(azimuth)])
 macro used to retrieve azimuth as double. More...

#define EIGHTNBR_CART_DIST_AT_AZIMUTH(azimuth, cellsz)    (((egtnbr_dist[(azimuth)]) * (cellsz)))
 macro used to retrieve cartesian distance at azimuth. More...


Detailed Description

Routines for iterating over neighborhoods with eight degrees of freedom.

Author(s):
Marco Morais
Date:
2000-2001

HFire (Highly Optmized Tolerance Fire Spread Model) Library Copyright (C) 2001 Marco Morais

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Definition in file EightNbr.h.


Define Documentation

#define EIGHTNBR_AZIMUTH_AS_DBL( azimuth )   (egtnbr_az[(azimuth)])
 

macro used to retrieve azimuth as double.

Definition at line 91 of file EightNbr.h.

#define EIGHTNBR_CART_DIST_AT_AZIMUTH( azimuth, cellsz )   (((egtnbr_dist[(azimuth)]) * (cellsz)))
 

macro used to retrieve cartesian distance at azimuth.

Definition at line 96 of file EightNbr.h.

#define EIGHTNBR_COL_INDEX_AT_AZIMUTH( j, azimuth )   ((j) + egtnbr_col[azimuth])
 

macro used to retrieve nbr cell index at various azimuths.

Definition at line 86 of file EightNbr.h.

#define EIGHTNBR_NUM_NBR_CELLS   (8)
 

identifies number of neigbors associated with a cell.

Definition at line 40 of file EightNbr.h.

#define EIGHTNBR_ROW_INDEX_AT_AZIMUTH( i, azimuth )   ((i) + egtnbr_row[azimuth])
 

macro used to retrieve nbr cell index at various azimuths.

Definition at line 81 of file EightNbr.h.


Enumeration Type Documentation

anonymous enum
 

Definition at line 43 of file EightNbr.h.


Generated at Fri Jun 22 00:46:52 2001 for HFire by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000