DMatch class
Constructors
- DMatch(int queryIdx, int trainIdx, int imgIdx, double distance)
-
factory
- DMatch.fromNative(DMatch r)
-
factory
-
DMatch.fromPointer(Pointer<
DMatch> p, {bool attach = true}) -
factory
Properties
- distance ↔ double
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- imgIdx ↔ int
-
getter/setter pair
- isDisposed → bool
-
Whether this object has been disposed.
no setterinherited
-
props
→ List<
Object?> -
no setteroverride
-
ptr
↔ Pointer<
DMatch> -
getter/setter pairinherited
- queryIdx ↔ int
-
getter/setter pair
- ref → DMatch
-
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- trainIdx ↔ int
-
getter/setter pair
Methods
-
dispose(
) → void -
Releases the underlying native resources. Idempotent: calling it more
than once is safe, but the object must not be used after dispose.
inherited
-
freeNative(
) → void -
Frees the native resources owned by this object. Subclasses implement the
concrete free logic here; callers must use dispose instead.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- finalizer → NativeFinalizer
-
final