Skip to content
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

Cuboid with just 3 planes? #40

Open
lucas4at opened this issue Feb 12, 2024 · 1 comment
Open

Cuboid with just 3 planes? #40

lucas4at opened this issue Feb 12, 2024 · 1 comment

Comments

@lucas4at
Copy link

Hi there,

I just started using this library, and I am also new to computational geometry so please bear with me..

I am trying to fit a cuboid to some points, but I just realized that the Cuboid.fit() result is just returning 3 planes. I expected it to return 6 planes, as I don't see how 3 planes can fully parametrize a cuboid object.

I felt pretty dumb and was sure I was missing something, so I asked ChatGPT which seems to agree that we need 6 planes and not 3.. now I am even more confused.

What am I missing?

@JGroxz
Copy link

JGroxz commented Feb 18, 2024

Same question. Cuboid cannot be defined with 3 planes alone.

I assumed that the depth of the faces is encoded in the direction vectors of the planes, but seems that they are all normalized:

SCR-20240218-exux

Are we really missing something here?

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

No branches or pull requests

2 participants