Module: QuadSphere
- Defined in:
- lib/quad_sphere.rb,
lib/quad_sphere/csc.rb,
lib/quad_sphere/tangential.rb
Overview
Please mind: in this documentation, and in the code comments, we use φ (phi) to denote longitude, or azimuthal angle, and θ (theta) for latitude, or elevation. This is the convention commonly used in physics. We apologise to all mathheads out there for any inconvenience this may cause.
Defined Under Namespace
Modules: CSC, Tangential
Constant Summary collapse
- TOP_FACE =
The identifier of the cube face whose centre maps to θ=π/2 (90°N, the North Pole).
0
- FRONT_FACE =
The identifier of the cube face whose centre maps to φ=0, θ=0 (0° 0°, think Ghana).
1
- EAST_FACE =
The identifier of the cube face whose centre maps to φ=π/2, θ=0 (0° 90°E, think India).
2
- BACK_FACE =
The identifier of the cube face whose centre maps to φ=π, θ=0 (0° 180°, think Fiji).
3
- WEST_FACE =
The identifier of the cube face whose centre maps to φ=-π/2, θ=0 (0° 90°W, think Central America).
4
- BOTTOM_FACE =
The identifier of the cube face whose centre maps to θ=-π/2 (90°S, the South Pole).
5