JuliaGeometry / GeometryBasics.jl

Basic Geometry Types
MIT License
164 stars 54 forks source link

fuller StructArrays integration #138

Closed piever closed 3 years ago

piever commented 3 years ago

In StructArrays 0.5, the interface has been slightly modified (see NEWS entry), so now it is necessary to overload component as well for stucts with custom layout.

This allows better StructArrays integration and makes things like setindex! work out of the box with StructArrays of meta geometries.

I've also added tests to make sure the full interface is implemented.

SimonDanisch commented 3 years ago

Nice! :) Thanks a lot!