Position analysis of a class of translational parallel mechanisms