operator []= method

  1. @override
void operator []=(
  1. int idx,
  2. DMatch value
)
override

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;
}