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