Applied periodicity theorem for structure fractals in quaternionic formulation