Judging the relationship between spatial points and polyhedra