v0.2.0
Release Notes
This is a major release with breaking changes. The codebase has been
written from scratch in Rust and the Python bindings have been updated
to reflect the changes in the underlying implementation.
Changed
- The
bc_typesargument ofCatmullRomclass has been renamed to
bc_typeand custom boundary conditions have been removed. The
available boundary conditions are'natural','closed', and
'clamped'. - The
smooth_linstringfunction has been renamed tosmooth_linestrings.
This function now handles a list ofLineStringgeometries instead of a
single geometry. The code runs in parallel in Rust and is significantly
faster than the previous implementation. If a singleLineStringgeometry is passed a singleLineStringgeometry is returned, otherwise a list ofLineStringgeometries is returned. - The
compute_tangentshas been renamed tolinestrings_tangent_angles.
This function now handles a list ofLineStringgeometries and returns
the tangent angles at each vertex of the input geometries. The code runs
in parallel in Rust and is significantly faster than the previous. If a singleLineStringgeometry is passed a single array of tangent angles is returned, otherwise a list of arrays is returned.