Function UpsProjection.fromHemisphere

Prepare the standard UPS grid for the chosen hemisphere.

static UpsProjection fromHemisphere(
  const UpsHemisphere hemisphere
) @safe;

Use tryFromHemisphere if an invalid hemisphere should return false instead of throwing.

Example

Example preparing north UPS.

import geodesy;
const projection = UpsProjection!double.fromHemisphere(
    UpsHemisphere.north);
assert(projection.hemisphere == UpsHemisphere.north);