Analytical kinematics models and special geometries of a class of 4-dof parallel mechanisms