Function LambertConformalConic.fromTwoStandardParallels
Set up a conic map from its two standard parallels and grid parameters.
Use this when invalid configuration should raise an exception.
Use tryFromTwoStandardParallels when you want to check the
parameters without throwing.
Example
Example preparing the Europe LCC parameter family.
import geodesy;
const grs80 = Ellipsoid!double .fromInverseFlattening(
6_378_137.0,
298.257222101);
const projection =
LambertConformalConic!double .fromTwoStandardParallels(
grs80,
Latitude!double .fromDegrees(52.0),
Longitude!double .fromDegrees(10.0),
Latitude!double .fromDegrees(35.0),
Latitude!double .fromDegrees(65.0),
4_000_000.0,
2_800_000.0);
assert(projection .isValid);