Comparison of geometric figures