DMatch constructor
Implementation
factory DMatch(int queryIdx, int trainIdx, int imgIdx, double distance) {
final ptr = calloc<cvg.DMatch>()
..ref.queryIdx = queryIdx
..ref.trainIdx = trainIdx
..ref.imgIdx = imgIdx
..ref.distance = distance;
return DMatch._(ptr);
}