-
Notifications
You must be signed in to change notification settings - Fork 24
Description
Hello,
I am using this for reconstruction of a volume of water, however I am only interested in the top surface of the volume, not the sides or the bottom. I thought passing domain_aabb in Parameters to reconstruct_surface might work, but alas this is not the right thing.
I see the internals of the marching cubes allows TriangulationCriteria. However this is not exposed.
It would be very nice to have either:
an Optional parameter on the Parameters struct, i.e. triangulation_aabb: Option<AxisAlignedBoundingBox>
or expose the TriangulationCriteria on the crate, and allow for passing in an implementor via the Parameters
struct.
Having both would be nice for a) ease of usage of AABB based TriangulationCriteria, b) maximum flexibility going forward.
I'm willing to have a look at this, but any thoughts on changes to the public interface would be welcome.
Also there might be some trickery regarding a global TriangulationCriteria, and merging the results of subdomain TriangulationCriteria. AFAICT TriangulationCriteria is used for stitching subdomains together generated in parallel..?