Struct vsop87::SphericalCoordinates [] [src]

pub struct SphericalCoordinates { /* fields omitted */ }

Structure representing spherical coordinates of a body.

Methods

impl SphericalCoordinates
[src]

Gets the ecliptic longitude of the body, in radians.

This value represents the angular distance of an object along the ecliptic plane from the primary direction. In the case of heliocentric coordinates, it represents the l parameter, in geocentric coordinates, represents the λ parameter.

Gets the ecliptic latitude of the body, in radians.

This value represents the angular distance of an object from the ecliptic towards the north ecliptic pole. In the case of heliocentric coordinates, it represents the b parameter, in geocentric coordinates, represents the β parameter.

Gets the distance to the center of mass, in astronomical units (AU).

In the case of heliocentric coordinates, it represents the r parameter, in geocentric coordinates, represents the Δ parameter.

Trait Implementations

impl Debug for SphericalCoordinates
[src]

Formats the value using the given formatter.

impl Clone for SphericalCoordinates
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for SphericalCoordinates
[src]

impl PartialEq for SphericalCoordinates
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.