Show / Hide Table of Contents

Struct Vec4d

4-Tuple of double (System.Double)

Implements
IVec<Vec4d, System.Double>
IVec
IEquatable<Vec4d>
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: OpenCvSharp
Assembly: OpenCvSharp.dll
Syntax
public struct Vec4d : IVec<Vec4d, double>, IVec

Constructors

| Improve this Doc View Source

Vec4d(Double, Double, Double, Double)

Initializer

Declaration
public Vec4d(double item0, double item1, double item2, double item3)
Parameters
Type Name Description
System.Double item0
System.Double item1
System.Double item2
System.Double item3

Fields

| Improve this Doc View Source

Item0

The value of the first component of this object.

Declaration
public double Item0
Field Value
Type Description
System.Double
| Improve this Doc View Source

Item1

The value of the second component of this object.

Declaration
public double Item1
Field Value
Type Description
System.Double
| Improve this Doc View Source

Item2

The value of the third component of this object.

Declaration
public double Item2
Field Value
Type Description
System.Double
| Improve this Doc View Source

Item3

The value of the fourth component of this object.

Declaration
public double Item3
Field Value
Type Description
System.Double

Properties

| Improve this Doc View Source

Item[Int32]

Indexer

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(Vec4d)

this + other

Declaration
public readonly Vec4d Add(Vec4d other)
Parameters
Type Name Description
Vec4d other
Returns
Type Description
Vec4d
| Improve this Doc View Source

Deconstruct(out Double, out Double, out Double, out Double)

Deconstructing a Vector

Declaration
public readonly void Deconstruct(out double item0, out double item1, out double item2, out double item3)
Parameters
Type Name Description
System.Double item0
System.Double item1
System.Double item2
System.Double item3
| Improve this Doc View Source

Divide(Double)

this / alpha

Declaration
public readonly Vec4d Divide(double alpha)
Parameters
Type Name Description
System.Double alpha
Returns
Type Description
Vec4d
| Improve this Doc View Source

Equals(Vec4d)

Declaration
public readonly bool Equals(Vec4d other)
Parameters
Type Name Description
Vec4d 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)

this * alpha

Declaration
public readonly Vec4d Multiply(double alpha)
Parameters
Type Name Description
System.Double alpha
Returns
Type Description
Vec4d
| Improve this Doc View Source

Subtract(Vec4d)

this - other

Declaration
public readonly Vec4d Subtract(Vec4d other)
Parameters
Type Name Description
Vec4d other
Returns
Type Description
Vec4d
| 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(Vec4d, Vec4d)

Declaration
public static Vec4d operator +(Vec4d a, Vec4d b)
Parameters
Type Name Description
Vec4d a
Vec4d b
Returns
Type Description
Vec4d
| Improve this Doc View Source

Division(Vec4d, Double)

Declaration
public static Vec4d operator /(Vec4d a, double alpha)
Parameters
Type Name Description
Vec4d a
System.Double alpha
Returns
Type Description
Vec4d
| Improve this Doc View Source

Equality(Vec4d, Vec4d)

Declaration
public static bool operator ==(Vec4d a, Vec4d b)
Parameters
Type Name Description
Vec4d a
Vec4d b
Returns
Type Description
System.Boolean
| Improve this Doc View Source

Inequality(Vec4d, Vec4d)

Declaration
public static bool operator !=(Vec4d a, Vec4d b)
Parameters
Type Name Description
Vec4d a
Vec4d b
Returns
Type Description
System.Boolean
| Improve this Doc View Source

Multiply(Vec4d, Double)

Declaration
public static Vec4d operator *(Vec4d a, double alpha)
Parameters
Type Name Description
Vec4d a
System.Double alpha
Returns
Type Description
Vec4d
| Improve this Doc View Source

Subtraction(Vec4d, Vec4d)

Declaration
public static Vec4d operator -(Vec4d a, Vec4d b)
Parameters
Type Name Description
Vec4d a
Vec4d b
Returns
Type Description
Vec4d

Implements

IVec<TSelf, TElem>
IVec
IEquatable<>
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX