Function PolarStereographic.fromStandardParallel

Set up a polar grid using its specified standard parallel.

static PolarStereographic fromStandardParallel(
  const Ellipsoid!T ellipsoid,
  const Latitude!T latitudeOfStandardParallel,
  const Longitude!T longitudeOfOrigin,
  const T falseEasting,
  const T falseNorthing
) @safe;

This is variant B (EPSG 9829), which derives the pole scale internally. Use tryFromStandardParallel when failure must not throw.

Example

Example constructing EPSG 9829 Polar Stereographic variant B.

import geodesy;
const projection =
    PolarStereographic!double.fromStandardParallel(
        wgs84!double(),
        Latitude!double.fromDegrees(-71.0),
        Longitude!double.fromDegrees(70.0),
        6_000_000.0,
        6_000_000.0);
assert(projection.scaleFactorAtNaturalOrigin > 0.97);