OpenCV for Unity 3.0.4
Enox Software / Please refer to OpenCV official document ( http://docs.opencv.org/5.0/index.html ) for the details of the argument of the method.
Loading...
Searching...
No Matches
OpenCVForUnity.GeometryModule.MSTEdge Class Reference

Represents an edge in a graph for Minimum Spanning Tree (MST) computation. More...

Public Member Functions

int get_source ()
 
int get_target ()
 
double get_weight ()
 
IntPtr getNativeObjAddr ()
 
void set_source (int source)
 
void set_target (int target)
 
void set_weight (double weight)
 
- Public Member Functions inherited from OpenCVForUnity.DisposableObject
void Dispose ()
 Releases resources used by this object.
 
void ThrowIfDisposed ()
 Throws ObjectDisposedException if this object has been disposed.
 

Static Public Member Functions

static MSTEdge __fromPtr__ (IntPtr addr)
 
- Static Public Member Functions inherited from OpenCVForUnity.DisposableObject
static IntPtr ThrowIfNullIntPtr (IntPtr ptr)
 Returns the native pointer, or throws CoreModule.CvException if it is zero.
 

Protected Member Functions

override void Dispose (bool disposing)
 
- Protected Member Functions inherited from OpenCVForUnity.DisposableOpenCVObject
 DisposableOpenCVObject ()
 Initializes a new instance with a zero native pointer and dispose enabled.
 
 DisposableOpenCVObject (bool isEnabledDispose)
 Initializes a new instance with a zero native pointer.
 
 DisposableOpenCVObject (IntPtr ptr)
 Initializes a new instance with the specified native pointer and dispose enabled.
 
 DisposableOpenCVObject (IntPtr ptr, bool isEnabledDispose)
 Initializes a new instance with the specified native pointer.
 
- Protected Member Functions inherited from OpenCVForUnity.DisposableObject
 DisposableObject ()
 Initializes a new instance with dispose enabled.
 
 DisposableObject (bool isEnabledDispose)
 Initializes a new instance.
 

Additional Inherited Members

- Package Attributes inherited from OpenCVForUnity.DisposableOpenCVObject
- Properties inherited from OpenCVForUnity.DisposableObject
bool IsDisposed [get, protected set]
 
bool IsEnabledDispose [get, set]
 

Detailed Description

Represents an edge in a graph for Minimum Spanning Tree (MST) computation.

Each edge connects two nodes (source and target) and has an associated weight.

Member Function Documentation

◆ __fromPtr__()

static MSTEdge OpenCVForUnity.GeometryModule.MSTEdge.__fromPtr__ ( IntPtr addr)
static

◆ Dispose()

override void OpenCVForUnity.GeometryModule.MSTEdge.Dispose ( bool disposing)
protectedvirtual

◆ get_source()

int OpenCVForUnity.GeometryModule.MSTEdge.get_source ( )

◆ get_target()

int OpenCVForUnity.GeometryModule.MSTEdge.get_target ( )

◆ get_weight()

double OpenCVForUnity.GeometryModule.MSTEdge.get_weight ( )

◆ getNativeObjAddr()

IntPtr OpenCVForUnity.GeometryModule.MSTEdge.getNativeObjAddr ( )

◆ set_source()

void OpenCVForUnity.GeometryModule.MSTEdge.set_source ( int source)

◆ set_target()

void OpenCVForUnity.GeometryModule.MSTEdge.set_target ( int target)

◆ set_weight()

void OpenCVForUnity.GeometryModule.MSTEdge.set_weight ( double weight)

The documentation for this class was generated from the following file: