Input (grade 11): In particular, two planets are in opposition to each other when their ecliptic longitudes differ by 180.
Output (grade 11): A planet (or asteroid or comet) is said to be "in opposition" when it is in opposition to the Sun as seen from the Earth.