#include "star-utils.hpp"
#include <math.h>
#include <assert.h>
#include <algorithm>
#include <set>
#include "serialize-helpers.hpp"
Go to the source code of this file.
|
| namespace | lost |
| | LOST starting point.
|
| |
|
| bool | lost::CatalogStarMagnitudeCompare (const CatalogStar &a, const CatalogStar &b) |
| |
| Catalog | lost::NarrowCatalog (const Catalog &, int maxMagnitude, int maxStars, decimal minSeparation) |
| | Remove unwanted stars from an unfiltered catalog.
|
| |
| Catalog::const_iterator | lost::FindNamedStar (const Catalog &catalog, int name) |
| | Return a pointer to the star with the given name, or NULL if not found.
|
| |
| void | lost::SerializeCatalogStar (SerializeContext *ser, const CatalogStar &catalogStar, bool inclMagnitude, bool inclName) |
| | Serialize a CatalogStar into a byte buffer.
|
| |
| CatalogStar | lost::DeserializeCatalogStar (DeserializeContext *des, bool inclMagnitude, bool inclName) |
| | Deserialize a catalog star.
|
| |
| void | lost::SerializeCatalog (SerializeContext *ser, const Catalog &catalog, bool inclMagnitude, bool inclName) |
| | Serialize the catalog to buffer.
|
| |
| Catalog | lost::DeserializeCatalog (DeserializeContext *des, bool *inclMagnitudeReturn, bool *inclNameReturn) |
| | Deserialize a catalog.
|
| |
| decimal | lost::MagToBrightness (int magnitude) |
| | returns some relative brightness measure, which is proportional to the total number of photons received from a star.
|
| |