Calculate rectangular,circle,sphere,tringle