NOAA-ORR-ERD / cell_tree2d

Cell Tree data structure for fast searching of an unstructured grid for the polygon containing the specified point
16 stars 11 forks source link

Add structured grid #5

Closed ChrisBarker-NOAA closed 8 years ago

ChrisBarker-NOAA commented 8 years ago

This didn't really do anything other than add some tests and utilities.

but I also tweaked the cython code a tiny bit -- making sure to get a contiguous array.

ChrisBarker-NOAA commented 8 years ago

Merging -- this is really only adding stuff -- plus fixing RST.

jay-hennen commented 8 years ago

This adds a quad example to the tests, but nothing new to the cpp? Question is in reference to the whole linear vs 2D indexing issue

ChrisBarker-NOAA commented 8 years ago

correct, it's really just an example -- no change to the "real" code.

but I think we should provide and API at some level to translate the indexes from flattened to 2-d indexing -- probably not at the CPP level, though.