In astrodynamics, the longitude of the periapsis (symbolized ω) of an orbiting body is the longitude (measured from the point of the vernal equinox) at which the periapsis (closest approach to the central body) would occur if the body's inclination were zero. The longitude of periapsis is a compound angle, with part of it being measured in the plane of reference and the rest being measured in the plane of the orbit. Likewise, any angle derived from the longitude of periapsis (e.g. mean longitude and true longitude) will also be compound.
Calculation from state vectors
ω = Ω + ω
which are derived from orbital state vectors.