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.Vec2f Struct Reference

2-Vector struct of float [CvType.CV_32FC2] More...

Public Member Functions

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

Static Public Member Functions

static operator (float, float)(in Vec2f vec)
 
static operator UnityEngine.Vector2 (in Vec2f vec)
 
static operator Vec2f (in(float, float) valueTuple)
 
static bool operator!= (Vec2f left, Vec2f right)
 
static bool operator== (Vec2f left, Vec2f right)
 

Public Attributes

float Item1
 
float Item2
 

Detailed Description

2-Vector struct of float [CvType.CV_32FC2]

Constructor & Destructor Documentation

◆ Vec2f()

OpenCVForUnity.UnityUtils.Vec2f.Vec2f ( float item1 = 0,
float item2 = 0 )

Member Function Documentation

◆ CompareTo() [1/3]

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

◆ CompareTo() [2/3]

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

◆ CompareTo() [3/3]

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

◆ Equals() [1/3]

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

◆ Equals() [2/3]

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

◆ Equals() [3/3]

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

◆ GetHashCode() [1/2]

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

◆ GetHashCode() [2/2]

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

◆ operator()

static OpenCVForUnity.UnityUtils.Vec2f.operator ( float ,
float  )
explicitstatic

◆ operator UnityEngine.Vector2()

static OpenCVForUnity.UnityUtils.Vec2f.operator UnityEngine.Vector2 ( in Vec2f vec)
explicitstatic

◆ operator Vec2f()

static OpenCVForUnity.UnityUtils.Vec2f.operator Vec2f ( in(float, float) valueTuple)
explicitstatic

◆ operator!=()

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

◆ operator==()

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

◆ readonly()

OpenCVForUnity.UnityUtils.Vec2f.readonly ( float ,
float  )

◆ ToString()

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

◆ ToVec2b()

readonly Vec2b OpenCVForUnity.UnityUtils.Vec2f.ToVec2b ( )

◆ ToVec2c()

readonly Vec2c OpenCVForUnity.UnityUtils.Vec2f.ToVec2c ( )

◆ ToVec2d()

readonly Vec2d OpenCVForUnity.UnityUtils.Vec2f.ToVec2d ( )

◆ ToVec2i()

readonly Vec2i OpenCVForUnity.UnityUtils.Vec2f.ToVec2i ( )

◆ ToVec2s()

readonly Vec2s OpenCVForUnity.UnityUtils.Vec2f.ToVec2s ( )

◆ ToVec2w()

readonly Vec2w OpenCVForUnity.UnityUtils.Vec2f.ToVec2w ( )

◆ ToVector2()

readonly UnityEngine.Vector2 OpenCVForUnity.UnityUtils.Vec2f.ToVector2 ( )

Member Data Documentation

◆ Item1

float OpenCVForUnity.UnityUtils.Vec2f.Item1

◆ Item2

float OpenCVForUnity.UnityUtils.Vec2f.Item2

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