A class and associated utiltity functions to manage world scenery tiling. More...
#include <simgear/compiler.h>#include <simgear/constants.h>#include <simgear/math/SGMath.hxx>#include <cmath>#include <cstdio>#include <ostream>#include <string>Go to the source code of this file.
Classes | |
| class | SGBucket |
| A class to manage world scenery tiling. More... | |
Defines | |
| #define | SG_BUCKET_SPAN 0.125 |
| standard size of a bucket in degrees (1/8 of a degree) | |
| #define | SG_HALF_BUCKET_SPAN ( 0.5 * SG_BUCKET_SPAN ) |
| half of a standard SG_BUCKET_SPAN | |
Functions | |
| std::ostream & | operator<< (std::ostream &out, const SGBucket &b) |
| Write the bucket lon, lat, x, and y to the output stream. | |
| bool | operator== (const SGBucket &b1, const SGBucket &b2) |
| Compare two bucket structures for equality. | |
A class and associated utiltity functions to manage world scenery tiling.
Definition in file newbucket.hxx.
| std::ostream& operator<< | ( | std::ostream & | out, | |
| const SGBucket & | b | |||
| ) | [inline] |
Write the bucket lon, lat, x, and y to the output stream.
| out | output stream | |
| b | bucket |
Definition at line 330 of file newbucket.hxx.
Compare two bucket structures for equality.
| b1 | bucket 1 | |
| b2 | bucket 2 |
Definition at line 343 of file newbucket.hxx.
1.6.1