Closed ossama-othman closed 6 years ago
Introducing specific types (e.g. classes) such MaRC::EquatorialRadius
and MaRC::PolarRadius
is one way to disambiguate between user supplied parameters. In addition to the rotation
parameter, different constructors could accept two such parameters.
The flattening
parameter was removed from the OblateSpheroid
constructor in PR #71. Closing this issue for now.
The
MaRC::OblateSpheroid
constructor currently accepts three floating point parameters:where any two of the three are required to be valid (positive). The third will be computed from the two that are supplied. This can be confusing and error prone. Look into altering the constructor so that only two radii/flattening parameters are required.