Skip to main content

Struct AngularVelocity3D

Represents AngularVelocity3d

Assembly: Meadow.Units.dll
View Source
Declaration
[Serializable]
public struct AngularVelocity3D : IFormattable, IComparable, IEquatable<(double ValueX, double ValueY, double ValueZ)>, IComparable<(double, double, double)>

Implements:
System.IFormattable, System.IComparable, System.IEquatable<System.ValueTuple<System.Double,System.Double,System.Double>>, System.IComparable<System.ValueTuple<System.Double,System.Double,System.Double>>

Properties

X

X component of angular velocity

View Source
Declaration
public AngularVelocity X { readonly get; set; }

Y

Y component of angular velocity

View Source
Declaration
public AngularVelocity Y { readonly get; set; }

Z

Z component of angular velocity

View Source
Declaration
public AngularVelocity Z { readonly get; set; }

Methods

Equals(object)

Compare two 3DAngularVelocity objects

View Source
Declaration
[Pure]
public override bool Equals(object obj)
Returns

System.Boolean: true if equal

Parameters
TypeNameDescription
System.Objectobjobject to compare

GetHashCode()

Get hash of object

View Source
Declaration
[Pure]
public override int GetHashCode()
Returns

System.Int32: hash as 32 bit integer### Equals(AngularVelocity3D) Compare two 3DAngularVelocity objects

View Source
Declaration
[Pure]
public bool Equals(AngularVelocity3D other)
Returns

System.Boolean: true if equal

Parameters
TypeNameDescription
Meadow.Units.AngularVelocity3Dotherobject to compare

ToString()

Get a string representation of the object

View Source
Declaration
[Pure]
public override string ToString()
Returns

System.String: A string representing the object### ToString(string, IFormatProvider) Get a string representation of the object

View Source
Declaration
[Pure]
public string ToString(string format, IFormatProvider formatProvider)
Returns

System.String: A string representing the object

Parameters
TypeNameDescription
System.Stringformatformat
System.IFormatProviderformatProviderformat provider

CompareTo(object)

Compare to another AngularVelocity3D object

View Source
Declaration
public int CompareTo(object obj)
Returns

System.Int32

Parameters
TypeNameDescription
System.ObjectobjThe other AngularVelocity3D cast to object
Exceptions

System.NotImplementedException

Equals((double ValueX, double ValueY, double ValueZ))

Compare the default value to three double

View Source
Declaration
public bool Equals((double ValueX, double ValueY, double ValueZ) other)
Returns

System.Boolean: true if equal

Parameters
TypeNameDescription
System.ValueTuple<System.Double,System.Double,System.Double>othervalues to compare

CompareTo((double, double, double))

Compare the default value to a double

View Source
Declaration
public int CompareTo((double, double, double) other)
Returns

System.Int32: 0 if equal

Parameters
TypeNameDescription
System.ValueTuple<System.Double,System.Double,System.Double>othervalue to compare

Implements

  • System.IFormattable
  • System.IComparable
  • System.IEquatable<System.ValueTuple<System.Double,System.Double,System.Double>>
  • System.IComparable<System.ValueTuple<System.Double,System.Double,System.Double>>