An easier way to do this is to undistort the imagery before you pass it into your cv pipeline.
If you undistort the imagery first, you don't have to think about distortion. Then you use Cal3_S2.
If you are unable to undistort first:
Cal3DS2_Base provides calibrate/uncalibrate functionality.
Cal3DS2 provides the retract and localCoordinates functions in addition to calibrate/uncalibrate.
It looks like you use Cal3DS2_Base if you are not estimating the calibration and use Cal3DS2 if you are optimizing the calibration.