Struct Vec6d
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
6-Tuple of double (System.Double)
[Serializable]
[SuppressMessage("Design", "CA1051: Do not declare visible instance fields")]
public struct Vec6d : IVec<Vec6d, double>, IVec, IEquatable<Vec6d>
- Implements
- Inherited Members
Constructors
Vec6d(double, double, double, double, double, double)
Initializer
public Vec6d(double item0, double item1, double item2, double item3, double item4, double item5)
Parameters
Fields
Item0
The value of the first component of this object.
public double Item0
Field Value
Item1
The value of the second component of this object.
public double Item1
Field Value
Item2
The value of the third component of this object.
public double Item2
Field Value
Item3
The value of the fourth component of this object.
public double Item3
Field Value
Item4
The value of the fifth component of this object.
public double Item4
Field Value
Item5
The value of the sixth component of this object.
public double Item5
Field Value
Properties
this[int]
Indexer
public double this[int i] { readonly get; set; }
Parameters
iint
Property Value
Methods
Add(Vec6d)
this + other
public readonly Vec6d Add(Vec6d other)
Parameters
otherVec6d
Returns
Deconstruct(out double, out double, out double, out double, out double, out double)
Deconstructing a Vector
public readonly void Deconstruct(out double item0, out double item1, out double item2, out double item3, out double item4, out double item5)
Parameters
Divide(double)
this / alpha
public readonly Vec6d Divide(double alpha)
Parameters
alphadouble
Returns
Equals(Vec6d)
Indicates whether the current object is equal to another object of the same type.
public readonly bool Equals(Vec6d other)
Parameters
otherVec6dAn object to compare with this object.
Returns
Equals(object?)
Indicates whether this instance and a specified object are equal.
public override readonly bool Equals(object? obj)
Parameters
objobjectThe object to compare with the current instance.
Returns
- bool
true if
objand this instance are the same type and represent the same value; otherwise, false.
GetHashCode()
Returns the hash code for this instance.
public override readonly int GetHashCode()
Returns
- int
A 32-bit signed integer that is the hash code for this instance.
Multiply(double)
this * alpha
public readonly Vec6d Multiply(double alpha)
Parameters
alphadouble
Returns
Subtract(Vec6d)
this - other
public readonly Vec6d Subtract(Vec6d other)
Parameters
otherVec6d
Returns
ToString()
Returns the fully qualified type name of this instance.
public override readonly string ToString()
Returns
- string
The fully qualified type name.
Operators
operator +(Vec6d, Vec6d)
public static Vec6d operator +(Vec6d a, Vec6d b)
Parameters
Returns
operator /(Vec6d, double)
public static Vec6d operator /(Vec6d a, double alpha)
Parameters
Returns
operator ==(Vec6d, Vec6d)
public static bool operator ==(Vec6d a, Vec6d b)
Parameters
Returns
operator !=(Vec6d, Vec6d)
public static bool operator !=(Vec6d a, Vec6d b)
Parameters
Returns
operator *(Vec6d, double)
public static Vec6d operator *(Vec6d a, double alpha)
Parameters
Returns
operator -(Vec6d, Vec6d)
public static Vec6d operator -(Vec6d a, Vec6d b)