ctrans: add getter for offsets
use std::fabs not fabs