refactor: extract data member from main resection routine
refactor: extract data member from main resection routine

Will ease further unit testing and allow mocking member
extracted from dataset object

oscarlorentzon/OpenSfM,sunbingfengPI/OpenSFM_Test,mapillary/OpenSfM,oscarlorentzon/OpenSfM,oscarlorentzon/OpenSfM,sunbingfengPI/OpenSFM_Test,sunbingfengPI/OpenSFM_Test,mapillary/OpenSfM,oscarlorentzon/OpenSfM,sunbingfengPI/OpenSFM_Test,mapillary/OpenSfM,mapillary/OpenSfM,mapillary/OpenSfM,sunbingfengPI/OpenSFM_Test,oscarlorentzon/OpenSfM