Struct Rotation2d
Assembly: WPILibSharp.dll
Syntax
public struct Rotation2d : IEquatable<Rotation2d>, IComparable<Rotation2d>
Constructors
|
Improve this Doc
View Source
Rotation2d(Double, Double)
Declaration
public Rotation2d(double x, double y)
Parameters
|
Improve this Doc
View Source
Rotation2d(Angle)
Declaration
public Rotation2d(Angle value)
Parameters
Type |
Name |
Description |
UnitsNet.Angle |
value |
|
Properties
|
Improve this Doc
View Source
Angle
Declaration
public Angle Angle { get; }
Property Value
Type |
Description |
UnitsNet.Angle |
|
|
Improve this Doc
View Source
Cos
Declaration
public double Cos { get; }
Property Value
|
Improve this Doc
View Source
Sin
Declaration
public double Sin { get; }
Property Value
|
Improve this Doc
View Source
Tan
Declaration
public double Tan { get; }
Property Value
Methods
|
Improve this Doc
View Source
CompareTo(Rotation2d)
Declaration
public int CompareTo(Rotation2d other)
Parameters
Returns
|
Improve this Doc
View Source
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
Overrides
|
Improve this Doc
View Source
Equals(Rotation2d)
Declaration
public bool Equals(Rotation2d other)
Parameters
Returns
|
Improve this Doc
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
|
Improve this Doc
View Source
RotateBy(Rotation2d)
Declaration
public Rotation2d RotateBy(in Rotation2d other)
Parameters
Returns
Operators
|
Improve this Doc
View Source
Addition(Rotation2d, Rotation2d)
Declaration
public static Rotation2d operator +(in Rotation2d left, in Rotation2d right)
Parameters
Returns
|
Improve this Doc
View Source
Equality(Rotation2d, Rotation2d)
Declaration
public static bool operator ==(in Rotation2d left, in Rotation2d right)
Parameters
Returns
|
Improve this Doc
View Source
GreaterThan(Rotation2d, Rotation2d)
Declaration
public static bool operator>(in Rotation2d left, in Rotation2d right)
Parameters
Returns
|
Improve this Doc
View Source
GreaterThanOrEqual(Rotation2d, Rotation2d)
Declaration
public static bool operator >=(in Rotation2d left, in Rotation2d right)
Parameters
Returns
|
Improve this Doc
View Source
Inequality(Rotation2d, Rotation2d)
Declaration
public static bool operator !=(in Rotation2d left, in Rotation2d right)
Parameters
Returns
|
Improve this Doc
View Source
LessThan(Rotation2d, Rotation2d)
Declaration
public static bool operator <(in Rotation2d left, in Rotation2d right)
Parameters
Returns
|
Improve this Doc
View Source
LessThanOrEqual(Rotation2d, Rotation2d)
Declaration
public static bool operator <=(in Rotation2d left, in Rotation2d right)
Parameters
Returns
|
Improve this Doc
View Source
Multiply(Rotation2d, Double)
Declaration
public static Rotation2d operator *(in Rotation2d value, double scalar)
Parameters
Returns
|
Improve this Doc
View Source
Subtraction(Rotation2d, Rotation2d)
Declaration
public static Rotation2d operator -(in Rotation2d left, in Rotation2d right)
Parameters
Returns
|
Improve this Doc
View Source
UnaryNegation(Rotation2d)
Declaration
public static Rotation2d operator -(in Rotation2d left)
Parameters
Returns
Implements