OpenCV for Unity 2.6.5
Enox Software / Please refer to OpenCV official document ( http://docs.opencv.org/4.10.0/index.html ) for the details of the argument of the method.
Loading...
Searching...
No Matches
OpenCVForUnity.UnityUtils.Vec2s Struct Reference

2-Vector struct of short [CvType.CV_16SC2] More...

Public Member Functions

 Vec2s (short item1=0, short item2=0)
 
readonly int CompareTo (object obj)
 
readonly int CompareTo (object other, IComparer comparer)
 
readonly int CompareTo (Vec2s other)
 
override readonly bool Equals (object obj)
 
readonly bool Equals (object other, IEqualityComparer comparer)
 
readonly bool Equals (Vec2s other)
 
override readonly int GetHashCode ()
 
readonly int GetHashCode (IEqualityComparer comparer)
 
 readonly (short, short) ToValueTuple()
 
readonly override string ToString ()
 
readonly Vec2b ToVec2b ()
 
readonly Vec2c ToVec2c ()
 
readonly Vec2d ToVec2d ()
 
readonly Vec2f ToVec2f ()
 
readonly Vec2i ToVec2i ()
 
readonly Vec2w ToVec2w ()
 

Static Public Member Functions

static operator (short, short)(in Vec2s vec)
 
static operator Vec2s (in(short, short) valueTuple)
 
static bool operator!= (Vec2s left, Vec2s right)
 
static bool operator== (Vec2s left, Vec2s right)
 

Public Attributes

short Item1
 
short Item2
 

Detailed Description

2-Vector struct of short [CvType.CV_16SC2]

Constructor & Destructor Documentation

◆ Vec2s()

OpenCVForUnity.UnityUtils.Vec2s.Vec2s ( short item1 = 0,
short item2 = 0 )

Member Function Documentation

◆ CompareTo() [1/3]

readonly int OpenCVForUnity.UnityUtils.Vec2s.CompareTo ( object obj)

◆ CompareTo() [2/3]

readonly int OpenCVForUnity.UnityUtils.Vec2s.CompareTo ( object other,
IComparer comparer )

◆ CompareTo() [3/3]

readonly int OpenCVForUnity.UnityUtils.Vec2s.CompareTo ( Vec2s other)

◆ Equals() [1/3]

override readonly bool OpenCVForUnity.UnityUtils.Vec2s.Equals ( object obj)

◆ Equals() [2/3]

readonly bool OpenCVForUnity.UnityUtils.Vec2s.Equals ( object other,
IEqualityComparer comparer )

◆ Equals() [3/3]

readonly bool OpenCVForUnity.UnityUtils.Vec2s.Equals ( Vec2s other)

◆ GetHashCode() [1/2]

override readonly int OpenCVForUnity.UnityUtils.Vec2s.GetHashCode ( )

◆ GetHashCode() [2/2]

readonly int OpenCVForUnity.UnityUtils.Vec2s.GetHashCode ( IEqualityComparer comparer)

◆ operator()

static OpenCVForUnity.UnityUtils.Vec2s.operator ( short ,
short  )
explicitstatic

◆ operator Vec2s()

static OpenCVForUnity.UnityUtils.Vec2s.operator Vec2s ( in(short, short) valueTuple)
explicitstatic

◆ operator!=()

static bool OpenCVForUnity.UnityUtils.Vec2s.operator!= ( Vec2s left,
Vec2s right )
static

◆ operator==()

static bool OpenCVForUnity.UnityUtils.Vec2s.operator== ( Vec2s left,
Vec2s right )
static

◆ readonly()

OpenCVForUnity.UnityUtils.Vec2s.readonly ( short ,
short  )

◆ ToString()

readonly override string OpenCVForUnity.UnityUtils.Vec2s.ToString ( )

◆ ToVec2b()

readonly Vec2b OpenCVForUnity.UnityUtils.Vec2s.ToVec2b ( )

◆ ToVec2c()

readonly Vec2c OpenCVForUnity.UnityUtils.Vec2s.ToVec2c ( )

◆ ToVec2d()

readonly Vec2d OpenCVForUnity.UnityUtils.Vec2s.ToVec2d ( )

◆ ToVec2f()

readonly Vec2f OpenCVForUnity.UnityUtils.Vec2s.ToVec2f ( )

◆ ToVec2i()

readonly Vec2i OpenCVForUnity.UnityUtils.Vec2s.ToVec2i ( )

◆ ToVec2w()

readonly Vec2w OpenCVForUnity.UnityUtils.Vec2s.ToVec2w ( )

Member Data Documentation

◆ Item1

short OpenCVForUnity.UnityUtils.Vec2s.Item1

◆ Item2

short OpenCVForUnity.UnityUtils.Vec2s.Item2

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