Original Post
Hi all, Could someone explain to me why I see multiple forms of representing a plane's distance to a point? Form 1: dist = ax + by + cz + d, or dot(plane, vector) + d Form 2: dist = ax + by + cz - d, or dot(plane, vector) - d Form 3: dist = fabs(ax + by + cz) - d, or fabs(dot(plane,vector)) - d Assuming Hesse Normal for (ax+by+cz+dw = 0, where w=1 for 3D vectors), which one of these is correct? Plane = <1.0, 0.0, 0.0, 1.0>, that is, a=1, b=0, c=0, d=1 Point = <-1.0, 0.0, 0.0>, that is, x=-1, y=0, z=0 Shouldn't the distance between the two be 2.0 (unsigned that is)? Form 1: d = -1 + 0 + 0 + 1 = 0 Form 2: d = -1 + 0 + 0 - 1 = -2 Form 3: d = fabs(-1 + 0 + 0) - 1 = 0 Having seen these three forms, I am beginning to question my own understanding of planes. What is it I am missing? Which of these is correct?