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

Closed
kylebarron opened this issue Aug 2, 2023 · 2 comments
Closed

Coordinate/Coordinate Array trait to support XYZM #127

kylebarron opened this issue Aug 2, 2023 · 2 comments

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
Copy link
Member Author

Solved in #661 as part of #662

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