leomariga/pyRANSAC-3D

Cuboid with just 3 planes?

Opened this issue · 1 comments

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?

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?