-
Notifications
You must be signed in to change notification settings - Fork 1
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
add custom plane splitvoxels #46
Conversation
…with shortest diameter through location
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good so far! Mostly comments to streamline the code a bit
* Signed distance to plane and tests for plane class * test * Signed distance to plane and tests * updated tests, renamed function * formatting fixes * small formatting fix --------- Co-authored-by: Danielle Vahdat <[email protected]> Co-authored-by: daniellevahdat <[email protected]> Co-authored-by: jannetty <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work on this! Two minor suggestions to use the new Plane
constructor, but otherwise ready to go
Co-authored-by: Jessica S. Yu <[email protected]>
Co-authored-by: Jessica S. Yu <[email protected]>
* changed docstrung for getDirection to specify that it gets direction with shortest diameter through location * adding initial Plane, Point, Vector classes and associated tests * adding last file * adding Plane container and Plane factory to make planes from potts enums * wip many tests failing, fixing PottsLocationTest.java * corrected normal vectors in PottsPlaneFactory. Updated tests. Added tests. * moved all points and vectors to int3Ds, expanded direction enum, removed plane factory and container * small changes to PottsEnums test, formatting fixes * removed extra split function * Divide Distance to Plane by Normal Vector Magnitude (#52) * Signed distance to plane and tests for plane class * Signed distance to plane and tests * updated tests, renamed function --------- Co-authored-by: Danielle Vahdat <[email protected]> Co-authored-by: daniellevahdat <[email protected]> Co-authored-by: jannetty <[email protected]> * moved Plane to Potts, changed point type to Voxel, removed unused function * change plane to have point represented as voxel instead of int3d * changed signedDistance function to take voxel * updated test * changed enum back, formatting fixes * removing test.class * Update src/arcade/potts/env/location/PottsLocation.java Co-authored-by: Jessica S. Yu <[email protected]> * addressing Jess's comments. Normalizing plane normal vector. * formatting fixes * added a few white spaces * Update src/arcade/potts/env/location/PottsLocation.java Co-authored-by: Jessica S. Yu <[email protected]> * Update test/arcade/potts/env/location/PottsLocationTest.java Co-authored-by: Jessica S. Yu <[email protected]> --------- Co-authored-by: daniellevahdat <[email protected]> Co-authored-by: Danielle Vahdat <[email protected]> Co-authored-by: daniellevahdat <[email protected]> Co-authored-by: Jessica S. Yu <[email protected]>
Resolves #17
Provides functionality so users can specify planes for potts cells to divide along.