Struct Vec2i
2-Tuple of int (System.Int32)
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 Vec2i : IVec<Vec2i, int>, IVec
Constructors
|
Improve this Doc
View Source
Vec2i(Int32, Int32)
Declaration
public Vec2i(int item0, int item1)
Parameters
Type |
Name |
Description |
System.Int32 |
item0 |
|
System.Int32 |
item1 |
|
Fields
|
Improve this Doc
View Source
Item0
The value of the first component of this object.
Declaration
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Item1
The value of the second component of this object.
Declaration
Field Value
Type |
Description |
System.Int32 |
|
Properties
|
Improve this Doc
View Source
Item[Int32]
Declaration
public int this[int i] { readonly get; set; }
Parameters
Type |
Name |
Description |
System.Int32 |
i |
|
Property Value
Type |
Description |
System.Int32 |
|
Methods
|
Improve this Doc
View Source
Add(Vec2i)
Declaration
public readonly Vec2i Add(Vec2i other)
Parameters
Type |
Name |
Description |
Vec2i |
other |
|
Returns
|
Improve this Doc
View Source
Deconstruct(out Int32, out Int32)
Declaration
public readonly void Deconstruct(out int item0, out int item1)
Parameters
Type |
Name |
Description |
System.Int32 |
item0 |
|
System.Int32 |
item1 |
|
|
Improve this Doc
View Source
Divide(Double)
Declaration
public readonly Vec2i Divide(double alpha)
Parameters
Type |
Name |
Description |
System.Double |
alpha |
|
Returns
|
Improve this Doc
View Source
Equals(Vec2i)
Declaration
public readonly bool Equals(Vec2i other)
Parameters
Type |
Name |
Description |
Vec2i |
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 Vec2i Multiply(double alpha)
Parameters
Type |
Name |
Description |
System.Double |
alpha |
|
Returns
|
Improve this Doc
View Source
Subtract(Vec2i)
Declaration
public readonly Vec2i Subtract(Vec2i other)
Parameters
Type |
Name |
Description |
Vec2i |
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
ToVec2d()
Declaration
Returns
|
Improve this Doc
View Source
ToVec2f()
Declaration
Returns
Operators
|
Improve this Doc
View Source
Addition(Vec2i, Vec2i)
Declaration
public static Vec2i operator +(Vec2i a, Vec2i b)
Parameters
Returns
|
Improve this Doc
View Source
Division(Vec2i, Double)
Declaration
public static Vec2i operator /(Vec2i a, double alpha)
Parameters
Type |
Name |
Description |
Vec2i |
a |
|
System.Double |
alpha |
|
Returns
|
Improve this Doc
View Source
Equality(Vec2i, Vec2i)
Declaration
public static bool operator ==(Vec2i a, Vec2i b)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Inequality(Vec2i, Vec2i)
Declaration
public static bool operator !=(Vec2i a, Vec2i b)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Multiply(Vec2i, Double)
Declaration
public static Vec2i operator *(Vec2i a, double alpha)
Parameters
Type |
Name |
Description |
Vec2i |
a |
|
System.Double |
alpha |
|
Returns
|
Improve this Doc
View Source
Subtraction(Vec2i, Vec2i)
Declaration
public static Vec2i operator -(Vec2i a, Vec2i b)
Parameters
Returns
Implements
IEquatable<>