Value returned from b2Body::GetInertia()

Question for Erin probably.
Given that the basic relationship between force, mass and acceleration are the same whether linear or angular (f = ma and T = Ia), and hence the effects of forces and torques are calculated the same in Box2D:
Code:
(b2Island::Solve())
b->m_linearVelocity += step.dt * b->m_invMass * b->m_force;
b->m_angularVelocity += step.dt * b->m_invI * b->m_torque;
...and that b2Body::GetMass() returns the m part of f = ma:
Code:
inline float32 b2Body::GetMass() const
{
   return m_mass;
}
... I had expected b2Body::GetInertia() to be:
Code:
inline float32 b2Body::GetInertia() const
{
   return m_I;
}

However, it is returning something other than the value used for velocity calculations:
Code:
inline float32 b2Body::GetInertia() const
{
   return m_I + m_mass * b2Dot(m_sweep.localCenter, m_sweep.localCenter);
}

I don't totally understand it all, but it seems that this offset is being used to place the inertia at the center of mass (as opposed to the body position, presumably):
Code:
(b2Body::ResetMassData())
// Center the inertia about the center of mass.
m_I -= m_mass * b2Dot(center, center);
... and then GetInertia() duly reverts this back to the original position before giving it to the caller. The thing is, why would I want an inertia value that is not actually being used anywhere in the simulation. Probably for most cases this isn't an issue because it only comes up when the center of mass is not at the body position. Perhaps it's just the naming which confuses me, but then what would you call a function that returned m_I? 🙂

Background: I have a body which I want to turn a specific angle in one time step using ApplyTorque or ApplyAngularImpulse, so I need a value for the inertia that will allow me to correctly predict how much torque will result in how much velocity increase.
You are probably the first person to call this function. 🙂

To be honest, I think it should return the central inertia, m_I.

When I compute the inertia for a body I have to compute all the shape inertias about the body origin and then shift to the center of mass. This uses the Parallel Axis Theorem.

http://en.wikipedia.org/wiki/Parallel_axis_theorem

Original thread: https://box2d.org/forum/viewtopic.php?t=7059