head 1.4; access; symbols; locks; strict; comment @# @; 1.4 date 2002.09.07.01.50.39; author curt; state Exp; branches; next 1.3; 1.3 date 2002.08.31.19.01.55; author curt; state Exp; branches; next 1.2; 1.2 date 2002.08.31.18.54.02; author curt; state Exp; branches; next 1.1; 1.1 date 2002.02.15.17.21.58; author curt; state Exp; branches; next ; desc @@ 1.4 log @Updated doxygen docs. @ text @
Main Page Class Hierarchy Compound List File List Compound Members File Members

# newbucket.hxx File Reference

A class and associated utiltity functions to manage world scenery tiling. More...

`#include <simgear/compiler.h>`
`#include <simgear/constants.h>`
`#include <math.h>`
`#include <stdio.h>`

Go to the source code of this file.

## Compounds
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
| SG_USING_STD (string)
| SG_USING_STD (ostream)
ostream & | operator<< (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.

## Detailed Description

A class and associated utiltity functions to manage world scenery tiling.

Definition in file newbucket.hxx.

## Function Documentation

ostream& operator<< | ( | ostream & | out,
|  | const SGBucket & | b
| ) | `[inline]`

  | Write the bucket lon, lat, x, and y to the output stream. Parameters:
  out | output stream
  b | bucket
Definition at line 319 of file newbucket.hxx. References SGBucket::lat, SGBucket::lon, SGBucket::x, and SGBucket::y.

bool operator== | ( | const SGBucket & | b1,
|  | const SGBucket & | b2
| ) | `[inline]`

  | Compare two bucket structures for equality. Parameters:
  b1 | bucket 1
  b2 | bucket 2
Returns: comparison result Definition at line 332 of file newbucket.hxx. References SGBucket::lat, SGBucket::lon, SGBucket::x, and SGBucket::y.

@ 1.3 log @Oops, try again. @ text @d153 1 a153 1