In general case for such body.

 

pic.1

  I will try to find other cases where this formula could be applied.