Hey Tutu.

A plane equation is given by n . (r - r0) = 0 where r0 is a specific point on the plane and n is a plane normal.

Calculating n . (p - r0) will give the distance to the plane.

The concept of a plane is simply a flat object in so many dimensions that satisfy the above formula.

If the distance is less than zero its below the plane, if its positive its above and if its zero its on the plane.

The plane equation can be understood intuitively by considering that a vector is orthogonal to a normal when the inner product is zero.

Expanding n . (r - r0) = n . r - n . r0 shows that we adjust the plane by considering how its "shifted" from the origin and this term is in the n . r0 term: If the origin was on the plane then it would be zero and the plane equation would be n . r = 0.