The position of each feature and that of the reference feature depends on the type of McFeatures. For McPoints the position is the point location (maPtLocationXY), for McLines the postion is the line mean position (maLnPositionXY) and for McRegions the postion is the region centroid.
Each feature is associated with the corresponding reference feature to the exent possible, with reference features being reused as necessary. Thus if there is only one reference feature, then all distances will be to that. If there are as many reference features as measured features, then each feature distance will be to the reference feature with the same feature index.