Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Coordinate/Coordinate Array trait to support XYZM #127

Open
kylebarron opened this issue Aug 2, 2023 · 1 comment · May be fixed by #139
Open

Coordinate/Coordinate Array trait to support XYZM #127

kylebarron opened this issue Aug 2, 2023 · 1 comment · May be fixed by #139

Comments

@kylebarron
Copy link
Member

Should presumably also have a perf boost by eliminating lots of match statements

@kylebarron
Copy link
Member Author

  • don't use C as the generic name as that overlaps with the name georust/geo gives to the numeric type

pseudocode from my phone:

trait Coord {

}

trait CoordArray {
    type Coord;

}

struct InterleavedXYBuffer<C: Coord> {

}

struct MutableInterleavedXY

@kylebarron kylebarron linked a pull request Aug 9, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant