|
static void | OrbitPositions (Orbital.COE coe, ref Vector3[] points, bool snapToShip=true) |
| Determine the orbit positions assuming center at (0,0,0). The scale is set by coe.p.
|
|
static Vector3[] | OrbitPositionsEllipseByE (Orbital.COE coe, int numPoints) |
| Provide equally spaced point around the ellipse by iterating over the eccentric anamoly.
|
|
static Vector3[] | OrbitPositionsToFromTA (Orbital.COE coe, int numPoints, double fromTARad, double toTARad) |
| Determine the orbit positions assuming center at (0,0,0). The scale is set by coe.p.
|
|
◆ OrbitPositions()
static void GravityEngine2.OrbitDisplayCommon.OrbitPositions |
( |
Orbital::COE | coe, |
|
|
ref Vector3[] | points, |
|
|
bool | snapToShip = true ) |
|
static |
Determine the orbit positions assuming center at (0,0,0). The scale is set by coe.p.
- Parameters
-
- Returns
◆ OrbitPositionsEllipseByE()
static Vector3[] GravityEngine2.OrbitDisplayCommon.OrbitPositionsEllipseByE |
( |
Orbital::COE | coe, |
|
|
int | numPoints ) |
|
static |
Provide equally spaced point around the ellipse by iterating over the eccentric anamoly.
REF: Idea from DiPrinzo "Methods of Orbital Maneuvering" AIAA Press.
- Parameters
-
- Returns
◆ OrbitPositionsToFromTA()
static Vector3[] GravityEngine2.OrbitDisplayCommon.OrbitPositionsToFromTA |
( |
Orbital::COE | coe, |
|
|
int | numPoints, |
|
|
double | fromTARad, |
|
|
double | toTARad ) |
|
static |
Determine the orbit positions assuming center at (0,0,0). The scale is set by coe.p.
If the orbit is an ellipse then the points can wrap from the to to the from TA.
If the orbit is a hyperbola then a cutoff is applied to the TA range to prevent wrapping.
- Parameters
-
- Returns
The documentation for this class was generated from the following file:
- ge2/GE2/Assets/GravityEngine2/Runtime/InScene/Display/OrbitDisplayCommon.cs