block code,projective geometry