LOST 0.0.1
LOST: Open-source Star Tracker
Loading...
Searching...
No Matches
lost::StarIdentifier Class Reference

Records that a certain Star (detected in the image) corresponds to a certain CatalogStar. More...

#include <star-utils.hpp>

Public Member Functions

 StarIdentifier (int starIndex, int catalogIndex, int weight)
 StarIdentifier (int starIndex, int catalogIndex)
 Sets StarIdentifier.weight = 1.
bool operator== (const StarIdentifier &other) const

Public Attributes

int starIndex
 An index into an array of Star objects.
int catalogIndex
 An index into an array of CatalogStar objects.
decimal weight
 A weight indicating the confidence of this idenification. Often just 1.

Detailed Description

Records that a certain Star (detected in the image) corresponds to a certain CatalogStar.

Only stores indexes into an array of Star objects and an array of CatalogStar objects, which are stored elsewhere.

Definition at line 79 of file star-utils.hpp.

Constructor & Destructor Documentation

◆ StarIdentifier() [1/2]

lost::StarIdentifier::StarIdentifier ( int starIndex,
int catalogIndex,
int weight )
inline

Definition at line 81 of file star-utils.hpp.

Here is the caller graph for this function:

◆ StarIdentifier() [2/2]

lost::StarIdentifier::StarIdentifier ( int starIndex,
int catalogIndex )
inline

Sets StarIdentifier.weight = 1.

Definition at line 84 of file star-utils.hpp.

Here is the call graph for this function:

Member Function Documentation

◆ operator==()

bool lost::StarIdentifier::operator== ( const StarIdentifier & other) const
inline

Definition at line 88 of file star-utils.hpp.

Here is the call graph for this function:

Member Data Documentation

◆ catalogIndex

int lost::StarIdentifier::catalogIndex

An index into an array of CatalogStar objects.

Definition at line 96 of file star-utils.hpp.

◆ starIndex

int lost::StarIdentifier::starIndex

An index into an array of Star objects.

Definition at line 94 of file star-utils.hpp.

◆ weight

decimal lost::StarIdentifier::weight

A weight indicating the confidence of this idenification. Often just 1.

Definition at line 98 of file star-utils.hpp.


The documentation for this class was generated from the following file: