How do I get collision pose in gazebo harmonic

ignition::math::Vector3d flCenterPos = this->dataPtr->flWheelJoint->GetChild()->GetCollision(id)->WorldPose().Pos();

This is the location where gazebo classic gets the collision. How do I get it in gazebo harmonic?