igd-geo / pasture

Rust library for point cloud processing
Apache License 2.0
72 stars 9 forks source link

Added into_inner method for LASWriter type #17

Closed Mortano closed 2 years ago

Mortano commented 2 years ago

This PR adds an into_inner method to the LASWriter type. This allows users to retrieve the Write type that they passed to the LASWriter when creating it using from_writer_and_header, similar to what Cursor<T> does for example. To enable this, the LASWriter type now has to carry type information of the underlying Write type, which sadly is a breaking API change.