useful geometry calculation.
useful geometry calculation.