Skip to content

Commit f0854ed

Browse files
committed
Add doxy.
1 parent db6fdbd commit f0854ed

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

alg/viewshed/viewshed_executor.h

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,18 +27,24 @@ namespace gdal
2727
namespace viewshed
2828
{
2929

30+
/**
31+
* Container for lines necessary for processing.
32+
*/
3033
struct Lines
3134
{
32-
std::vector<double> cur;
33-
std::vector<double> result;
34-
std::vector<double> prev;
35-
std::vector<double> inputData;
36-
std::vector<double> pitchMask;
35+
std::vector<double> cur; //!< Current line being processed
36+
std::vector<double> result; //!< Result values for current line
37+
std::vector<double> prev; //!< Height values for previous line
38+
std::vector<double>
39+
pitchMask; //!< Height/indicator values for pitch masking.
3740

41+
/// Constructor
3842
Lines()
3943
{
4044
}
4145

46+
/// Constructor that initializes to line length
47+
/// \param lineLen Line length.
4248
Lines(size_t lineLen) : cur(lineLen), result(lineLen)
4349
{
4450
}

0 commit comments

Comments
 (0)