[AdgDim] Changed "ref1", "ref2" and "pos" to AdgPoint