Struct Vec4w
4-Tuple of ushort (System.UInt16)
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: OpenCvSharp.dll
Syntax
public struct Vec4w : IVec<Vec4w, ushort>, IVec
Constructors
|
Improve this Doc
View Source
Vec4w(UInt16, UInt16, UInt16, UInt16)
Declaration
public Vec4w(ushort item0, ushort item1, ushort item2, ushort item3)
Parameters
Type |
Name |
Description |
System.UInt16 |
item0 |
|
System.UInt16 |
item1 |
|
System.UInt16 |
item2 |
|
System.UInt16 |
item3 |
|
Fields
|
Improve this Doc
View Source
Item0
The value of the first component of this object.
Declaration
Field Value
Type |
Description |
System.UInt16 |
|
|
Improve this Doc
View Source
Item1
The value of the second component of this object.
Declaration
Field Value
Type |
Description |
System.UInt16 |
|
|
Improve this Doc
View Source
Item2
The value of the third component of this object.
Declaration
Field Value
Type |
Description |
System.UInt16 |
|
|
Improve this Doc
View Source
Item3
The value of the fourth component of this object.
Declaration
Field Value
Type |
Description |
System.UInt16 |
|
Properties
|
Improve this Doc
View Source
Item[Int32]
Declaration
public ushort this[int i] { readonly get; set; }
Parameters
Type |
Name |
Description |
System.Int32 |
i |
|
Property Value
Type |
Description |
System.UInt16 |
|
Methods
|
Improve this Doc
View Source
Add(Vec4w)
Declaration
public readonly Vec4w Add(Vec4w other)
Parameters
Type |
Name |
Description |
Vec4w |
other |
|
Returns
|
Improve this Doc
View Source
Deconstruct(out UInt16, out UInt16, out UInt16, out UInt16)
Declaration
public readonly void Deconstruct(out ushort item0, out ushort item1, out ushort item2, out ushort item3)
Parameters
Type |
Name |
Description |
System.UInt16 |
item0 |
|
System.UInt16 |
item1 |
|
System.UInt16 |
item2 |
|
System.UInt16 |
item3 |
|
|
Improve this Doc
View Source
Divide(Double)
Declaration
public readonly Vec4w Divide(double alpha)
Parameters
Type |
Name |
Description |
System.Double |
alpha |
|
Returns
|
Improve this Doc
View Source
Equals(Vec4w)
Declaration
public readonly bool Equals(Vec4w other)
Parameters
Type |
Name |
Description |
Vec4w |
other |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Equals(Object)
Declaration
public override readonly bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
System.ValueType.Equals(System.Object)
|
Improve this Doc
View Source
GetHashCode()
Declaration
public override readonly int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.ValueType.GetHashCode()
|
Improve this Doc
View Source
Multiply(Double)
Declaration
public readonly Vec4w Multiply(double alpha)
Parameters
Type |
Name |
Description |
System.Double |
alpha |
|
Returns
|
Improve this Doc
View Source
Subtract(Vec4w)
Declaration
public readonly Vec4w Subtract(Vec4w other)
Parameters
Type |
Name |
Description |
Vec4w |
other |
|
Returns
|
Improve this Doc
View Source
ToString()
Declaration
public override readonly string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.ValueType.ToString()
|
Improve this Doc
View Source
ToVec4d()
Declaration
Returns
|
Improve this Doc
View Source
ToVec4f()
Declaration
Returns
|
Improve this Doc
View Source
ToVec4i()
Declaration
Returns
|
Improve this Doc
View Source
ToVec4s()
Declaration
Returns
Operators
|
Improve this Doc
View Source
Addition(Vec4w, Vec4w)
Declaration
public static Vec4w operator +(Vec4w a, Vec4w b)
Parameters
Returns
|
Improve this Doc
View Source
Division(Vec4w, Double)
Declaration
public static Vec4w operator /(Vec4w a, double alpha)
Parameters
Type |
Name |
Description |
Vec4w |
a |
|
System.Double |
alpha |
|
Returns
|
Improve this Doc
View Source
Equality(Vec4w, Vec4w)
Declaration
public static bool operator ==(Vec4w a, Vec4w b)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Inequality(Vec4w, Vec4w)
Declaration
public static bool operator !=(Vec4w a, Vec4w b)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Multiply(Vec4w, Double)
Declaration
public static Vec4w operator *(Vec4w a, double alpha)
Parameters
Type |
Name |
Description |
Vec4w |
a |
|
System.Double |
alpha |
|
Returns
|
Improve this Doc
View Source
Subtraction(Vec4w, Vec4w)
Declaration
public static Vec4w operator -(Vec4w a, Vec4w b)
Parameters
Returns
Implements
IEquatable<>