

Public Member Functions | |
| NearStarFinder (float _maxDistance, vector< const Star * > &nearStars) | |
| void | process (const Star &star, float distance, float appMag) |
| ~NearStarFinder () | |
Private Attributes | |
| float | maxDistance |
| vector< const Star * > & | nearStars |
|
||||||||||||
|
Definition at line 277 of file universe.cpp. 00278 : 00279 maxDistance(_maxDistance), 00280 nearStars(_nearStars) 00281 { 00282 }
|
|
|
Definition at line 269 of file universe.cpp. 00269 {};
|
|
||||||||||||||||
|
Definition at line 284 of file universe.cpp. References distance(), maxDistance, and nearStars. 00285 {
00286 if (distance < maxDistance)
00287 nearStars.push_back(&star);
00288 }
|
|
|
Definition at line 273 of file universe.cpp. Referenced by process(). |
|
|
Definition at line 274 of file universe.cpp. Referenced by process(). |
1.4.1