[eigen] Hyperplane::signedDistance incorrect

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]


Hi

I believe that there is an error in the signedDistance member function of the Hyperplane. I believe it should subtract the offset from the dot product of the normal and the point instead of adding it.
I've attached a patch file. I hope I've generated the file correctly as I have only used git before and not Mercurial.

Thanks

Luke

Attachment: hyperplane_fix.patch
Description: Binary data



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/