#include <orbit.h>
Inheritance diagram for SynchronousOrbit:


Public Member Functions | |
| virtual double | getBoundingRadius () const |
| virtual double | getPeriod () const |
| Point3d | positionAtTime (double jd) const |
| virtual void | sample (double, double, int, OrbitSampleProc &proc) const |
| SynchronousOrbit (const Body &_body, const Point3d &_position) | |
| virtual | ~SynchronousOrbit () |
Private Attributes | |
| const Body & | body |
| Point3d | position |
Definition at line 129 of file orbit.h.
|
||||||||||||
|
Definition at line 395 of file orbit.cpp.
|
|
|
Definition at line 403 of file orbit.cpp. 00404 {
00405 }
|
|
|
Implements Orbit. Definition at line 422 of file orbit.cpp. References Point3< T >::distanceFromOrigin(), and position. 00423 {
00424 return position.distanceFromOrigin();
00425 }
|
|
|
Implements Orbit. Definition at line 416 of file orbit.cpp. References body, Body::getRotationElements(), and RotationElements::period. 00417 {
00418 return body.getRotationElements().period;
00419 }
|
|
|
Implements Orbit. Definition at line 408 of file orbit.cpp. References body, Body::getEquatorialToGeographic(), position, and Quaternion< T >::toMatrix3(). 00409 {
00410 //Quatd q = body.getEclipticalToGeographic(jd);
00411 Quatd q = body.getEquatorialToGeographic(jd);
00412 return position * q.toMatrix3();
00413 }
|
|
||||||||||||||||||||
|
Implements Orbit. Definition at line 428 of file orbit.cpp. 00429 {
00430 // Empty method--we never want to show a synchronous orbit.
00431 }
|
|
|
Definition at line 141 of file orbit.h. Referenced by getPeriod(), and positionAtTime(). |
|
|
Definition at line 142 of file orbit.h. Referenced by getBoundingRadius(), and positionAtTime(). |
1.4.1