7#ifndef VIEWSHED_UTIL_H_INCLUDED
8#define VIEWSHED_UTIL_H_INCLUDED
10#include "viewshed_types.h"
17double normalizeAngle(
double maskAngle);
18double horizontalIntersect(
double angle,
int nX,
int nY,
int y);
19int hIntersect(
double angle,
int nX,
int nY,
int y);
20int hIntersect(
double angle,
int nX,
int nY,
const Window &win);
21double verticalIntersect(
double angle,
int nX,
int nY,
int x);
22int vIntersect(
double angle,
int nX,
int nY,
int x);
23int vIntersect(
double angle,
int nX,
int nY,
const Window &win);
24bool rayBetween(
double start,
double end,
double test);
25size_t bandSize(GDALRasterBand &band);
27DatasetPtr createOutputDataset(GDALRasterBand &srcBand,
const Options &opts,
OGRLayer::FeatureIterator end(OGRLayer *poLayer)
Return end of feature iterator.
Definition ogrsf_frmts.h:478
Options for viewshed generation.
Definition viewshed_types.h:59
A window in a raster including pixels in [xStart, xStop) and [yStart, yStop).
Definition viewshed_types.h:116