A necessary condition for representatives of elements of artin groups of dihedral type to be geodesic