Planes in 3D

· Math ·

General plane equation

Ax+By+Cz=D

Normal to a plane

n=Ai+Bj+Ck

Plane by normal and point

Given n - normal and point p on the plane Ax+By+Cz=D
?if I got it right?

n1(xp1)+n2(yp2)+n3(zp3)=0

Point distance to plane

Given a point p on the plane Ax+By+Cz=D
the distance d from the point to the plane will be:

d=Ap1+Bp2+Cp3DA2+B2+C2