Get ofMesh from of3dPrimitive after .setPosition()

I am using an of3dPrimitive and set it’s position via mySphere.setPosition(x,y,z);

I now need to get the mesh of the sphere in this new location. .getMesh() only gives me the mesh at the sphere’s zero position.
I could iterate through all mesh vertices and add the x,y,z but I’m wondering if there is an other way.