Closed thchr closed 1 year ago
I left the implemention on the table for some reason I can't recall now. Need to check how Scipy handled this, might have been just a bit of work to implement.
Actually it needs imitating this piece of code from qhull's io_r.c
qsort(SETaddr_(vertex->neighbors, facetT), (size_t)numneighbors,
sizeof(facetT *), qh_compare_facetvisit);
The commented out sort was apparently some non-functioning try...
Hmm, seems that I have overlooked the implementation of qh_order_vertexneighbors in io_r.c. It actually supports >3-dimensions, so I should be able to just remove the unimplemented error.
Which hits this line in
qh_order_vertexneighbors_nd
: https://github.com/JuhaHeiskala/DirectQhull.jl/blob/e3bca5dbe79613421709841ff50f99d5a1f3aeec/src/DirectQhull.jl#L1484-L1487