Struct AngularVelocity3D
Represents AngularVelocity3d
Assembly: Meadow.Units.dll
View Source
[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
public AngularVelocity X { readonly get; set; }
Y
Y component of angular velocity
View Source
public AngularVelocity Y { readonly get; set; }
Z
Z component of angular velocity
View Source
public AngularVelocity Z { readonly get; set; }
Methods
Equals(object)
Compare two 3DAngularVelocity objects
View Source
[Pure]
public override bool Equals(object obj)
Returns
System.Boolean
: true if equal
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | object to compare |
GetHashCode()
Get hash of object
View Source
[Pure]
public override int GetHashCode()
Returns
System.Int32
: hash as 32 bit integer### Equals(AngularVelocity3D)
Compare two 3DAngularVelocity objects
View Source
[Pure]
public bool Equals(AngularVelocity3D other)
Returns
System.Boolean
: true if equal
Parameters
Type | Name | Description |
---|---|---|
Meadow.Units.AngularVelocity3D | other | object to compare |
ToString()
Get a string representation of the object
View Source
[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
[Pure]
public string ToString(string format, IFormatProvider formatProvider)
Returns
System.String
: A string representing the object
Parameters
Type | Name | Description |
---|---|---|
System.String | format | format |
System.IFormatProvider | formatProvider | format provider |
CompareTo(object)
Compare to another AngularVelocity3D object
View Source
public int CompareTo(object obj)
Returns
System.Int32
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | The other AngularVelocity3D cast to object |
Exceptions
System.NotImplementedException
Equals((double ValueX, double ValueY, double ValueZ))
Compare the default value to three double
View Source
public bool Equals((double ValueX, double ValueY, double ValueZ) other)
Returns
System.Boolean
: true if equal
Parameters
Type | Name | Description |
---|---|---|
System.ValueTuple<System.Double,System.Double,System.Double> | other | values to compare |
CompareTo((double, double, double))
Compare the default value to a double
View Source
public int CompareTo((double, double, double) other)
Returns
System.Int32
: 0 if equal
Parameters
Type | Name | Description |
---|---|---|
System.ValueTuple<System.Double,System.Double,System.Double> | other | value 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>>