Eci class

ECI coordinates

Constructors

Eci(Vector pos, Vector vel, Julian date, {bool isAeUnits = true})
Eci.fromGeo(CoordGeo geo, Julian date)
Eci(CoordGeo, Julian) Calculate the ECI coordinates of the location "geo" at time "date". Assumes geo coordinates are km-based. Assumes the earth is an oblate spheroid as defined in WGS '72. Reference: The 1992 Astronomical Almanac, page K11 Reference: www.celestrak.com (Dr. TS Kelso)

Properties

date Julian
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
pos Vector
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
vecUnits VecUnits
getter/setter pair
vel Vector
getter/setter pair

Methods

ae2Km() → void
Convert position, velocity vector units from AE to km ae2Km() Convert the position and velocity vector units from AE-based units to kilometer based units.
getDate() Julian
get the date as Julian Date
getPos() Vector
return the pos
getVel() Vector
return the velocity
mulPos(double factor) → void
mulVel(double factor) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setUnitsAe() → void
setUnitsKm() → void
toGeo() CoordGeo
toGeo() Return the corresponding geodetic position (based on the current ECI coordinates/Julian date). Assumes the earth is an oblate spheroid as defined in WGS '72. Side effects: Converts the position and velocity vectors to km-based units. Reference: The 1992 Astronomical Almanac, page K12. Reference: www.celestrak.com (Dr. TS Kelso)
toString() String
A string representation of this object.
inherited
unitsAreAe() bool
unitsAreKm() bool

Operators

operator ==(Object other) bool
The equality operator.
inherited