operator []= method
Implementation
@override
void operator []=(int idx, DMatch value) {
ref.ptr[idx].queryIdx = value.queryIdx;
ref.ptr[idx].trainIdx = value.trainIdx;
ref.ptr[idx].imgIdx = value.imgIdx;
ref.ptr[idx].distance = value.distance;
}