closed #4150:  add const to getPosition/RotationOffset method.