Before revision:  For generalization of the comparisons the ray crossing\textit{ algorithm is used as another reference.
After revision:  For generalization of the comparisons ,\textit{ algorithm is used as another reference.