elm-geometry icon indicating copy to clipboard operation
elm-geometry copied to clipboard

Rename ArcLengthParameterization module to ArcLength

Open ianmackenzie opened this issue 4 years ago • 0 comments

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 of ArcLengthParameterization.build
    • ArcLength.toParameterValue and ArcLength.fromParameterValue instead of ArcLengthParameterization.arcLengthToParameterValue and ArcLengthParameterization.parameterValueToArcLength
  • Would allow for arc length calculations that do not involve building a parameterization, such as ArcLength.estimate (same arguments as ArcLength.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...

ianmackenzie avatar May 28 '20 15:05 ianmackenzie