Skip to content

Conversation

@daniellevahdat
Copy link
Contributor

Signed distance to plane and tests for plane class

@daniellevahdat daniellevahdat requested review from Jannetty and jessicasyu and removed request for jessicasyu October 9, 2024 05:41
@daniellevahdat daniellevahdat changed the base branch from main to jannetty/add-custom-plane-splitvoxels October 9, 2024 21:38
Copy link
Member

@Jannetty Jannetty left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job!

@daniellevahdat daniellevahdat changed the title Feature plane implementation Divide Distance to Plane by Normal Vector Magnitude Oct 9, 2024
@daniellevahdat daniellevahdat merged commit 00e33d8 into jannetty/add-custom-plane-splitvoxels Oct 9, 2024
@daniellevahdat daniellevahdat deleted the feature_plane-implementation branch October 9, 2024 22:16
Jannetty added a commit that referenced this pull request Oct 11, 2024
* 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 <daniellevahdat@MacBook-Air-683.local>
Co-authored-by: daniellevahdat <dhvahdat@gmail.com>
Co-authored-by: jannetty <jannetty@uw.edu>

* 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 <15913767+jessicasyu@users.noreply.github.com>

* 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 <15913767+jessicasyu@users.noreply.github.com>

* Update test/arcade/potts/env/location/PottsLocationTest.java

Co-authored-by: Jessica S. Yu <15913767+jessicasyu@users.noreply.github.com>

---------

Co-authored-by: daniellevahdat <158232064+daniellevahdat@users.noreply.github.com>
Co-authored-by: Danielle Vahdat <daniellevahdat@MacBook-Air-683.local>
Co-authored-by: daniellevahdat <dhvahdat@gmail.com>
Co-authored-by: Jessica S. Yu <15913767+jessicasyu@users.noreply.github.com>
Jannetty added a commit that referenced this pull request Oct 18, 2024
* 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 <daniellevahdat@MacBook-Air-683.local>
Co-authored-by: daniellevahdat <dhvahdat@gmail.com>
Co-authored-by: jannetty <jannetty@uw.edu>

* 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 <15913767+jessicasyu@users.noreply.github.com>

* 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 <15913767+jessicasyu@users.noreply.github.com>

* Update test/arcade/potts/env/location/PottsLocationTest.java

Co-authored-by: Jessica S. Yu <15913767+jessicasyu@users.noreply.github.com>

---------

Co-authored-by: daniellevahdat <158232064+daniellevahdat@users.noreply.github.com>
Co-authored-by: Danielle Vahdat <daniellevahdat@MacBook-Air-683.local>
Co-authored-by: daniellevahdat <dhvahdat@gmail.com>
Co-authored-by: Jessica S. Yu <15913767+jessicasyu@users.noreply.github.com>
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 this pull request may close these issues.

3 participants