- // default constructor
- inline SGBucket();
-
- // constructor for specified location
- inline SGBucket(const double dlon, const double dlat);
-
- // create an impossible bucket if false
- inline SGBucket(const bool is_good);
-
- // Parse a unique scenery tile index and find the lon, lat, x, and y
- inline SGBucket(const long int bindex);
-
- // default destructor
- inline ~SGBucket();
-
- // Set the bucket params for the specified lat and lon
+ /**
+ * Default constructor.
+ */
+ SGBucket();
+
+ /**
+ * Construct a bucket given a specific location.
+ * @param dlon longitude specified in degrees
+ * @param dlat latitude specified in degrees
+ */
+ SGBucket(const double dlon, const double dlat);
+
+ /**
+ * Construct a bucket given a specific location.
+ * @param dlon longitude specified in degrees
+ * @param dlat latitude specified in degrees
+ */
+ SGBucket(const SGGeod& geod);
+
+ /** Construct a bucket.
+ * @param is_good if false, create an invalid bucket. This is
+ * useful * if you are comparing cur_bucket to last_bucket and
+ * you want to * make sure last_bucket starts out as something
+ * impossible.
+ */
+ SGBucket(const bool is_good);
+
+ /** Construct a bucket given a unique bucket index number.
+ * @param bindex unique bucket index
+ */
+ SGBucket(const long int bindex);
+
+ /**
+ * Reset a bucket to represent a new lat and lon
+ * @param dlon longitude specified in degrees
+ * @param dlat latitude specified in degrees
+ */