elm-geometry
elm-geometry copied to clipboard
Rename ArcLengthParameterization module to ArcLength
Should still be very unlikely to result in a naming conflict, and would have a couple of advantages:
- Would allow for some shorter function names:
-
ArcLength.parameterization
instead ofArcLengthParameterization.build
-
ArcLength.toParameterValue
andArcLength.fromParameterValue
instead ofArcLengthParameterization.arcLengthToParameterValue
andArcLengthParameterization.parameterValueToArcLength
-
- Would allow for arc length calculations that do not involve building a parameterization, such as
ArcLength.estimate
(same arguments asArcLength.parameterization
, but just returns a total arc length estimate without actually building up a parameterization data structure)
Could potentially add an ArcLength
module now, and have the ArcLengthParameterization
module basically be a deprecated alias for it until the next major version...