LOST  0.0.1
LOST: Open-source Star Tracker
lost::IRUnidentifiedCentroid Class Reference

unidentified centroid used in IdentifyRemainingStarsPairDistance The "angles" through here are "triangular angles". More...

#include <star-id-private.hpp>

Collaboration diagram for lost::IRUnidentifiedCentroid:

Public Member Functions

 IRUnidentifiedCentroid (const Star &star, int16_t index)
 
 IRUnidentifiedCentroid ()
 
void AddIdentifiedStar (const StarIdentifier &starId, const Stars &stars)
 When a centroid within range of this centroid is identified, call this function. More...
 

Public Attributes

decimal bestAngleFrom90
 
StarIdentifier bestStar1
 For the pair of other centroids forming the triangular angle closest to 90 degrees, how far from 90 degrees it is (in radians) More...
 
StarIdentifier bestStar2
 One star corresponding to bestAngleFrom90. More...
 
int16_t index
 The other star corresponding to bestAngleFrom90. More...
 
const Starstar
 Index into list of all centroids. More...
 

Detailed Description

unidentified centroid used in IdentifyRemainingStarsPairDistance The "angles" through here are "triangular angles".

A triangular angle is a 2D angle in a triangle formed by three centroids.

Definition at line 17 of file star-id-private.hpp.

Constructor & Destructor Documentation

◆ IRUnidentifiedCentroid() [1/2]

lost::IRUnidentifiedCentroid::IRUnidentifiedCentroid ( const Star star,
int16_t  index 
)
inline

Definition at line 19 of file star-id-private.hpp.

◆ IRUnidentifiedCentroid() [2/2]

lost::IRUnidentifiedCentroid::IRUnidentifiedCentroid ( )
inline

Definition at line 28 of file star-id-private.hpp.

Member Function Documentation

◆ AddIdentifiedStar()

void lost::IRUnidentifiedCentroid::AddIdentifiedStar ( const StarIdentifier starId,
const Stars stars 
)

When a centroid within range of this centroid is identified, call this function.

This function does /not/ check whether the centroid is within range.

Definition at line 276 of file star-id.cpp.

Member Data Documentation

◆ bestAngleFrom90

decimal lost::IRUnidentifiedCentroid::bestAngleFrom90

Definition at line 32 of file star-id-private.hpp.

◆ bestStar1

StarIdentifier lost::IRUnidentifiedCentroid::bestStar1

For the pair of other centroids forming the triangular angle closest to 90 degrees, how far from 90 degrees it is (in radians)

Definition at line 33 of file star-id-private.hpp.

◆ bestStar2

StarIdentifier lost::IRUnidentifiedCentroid::bestStar2

One star corresponding to bestAngleFrom90.

Definition at line 34 of file star-id-private.hpp.

◆ index

int16_t lost::IRUnidentifiedCentroid::index

The other star corresponding to bestAngleFrom90.

Definition at line 35 of file star-id-private.hpp.

◆ star

const Star* lost::IRUnidentifiedCentroid::star

Index into list of all centroids.

Definition at line 36 of file star-id-private.hpp.


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