Show / Hide Table of Contents

Struct Transform2d

Implements
IEquatable<Transform2d>
Inherited Members
ValueType.ToString()
Object.Equals(Object, Object)
Object.GetType()
Object.ReferenceEquals(Object, Object)
Namespace: WPILib.Geometry
Assembly: WPILibSharp.dll
Syntax
public struct Transform2d : IEquatable<Transform2d>

Constructors

| Improve this Doc View Source

Transform2d(Pose2d, Pose2d)

Declaration
public Transform2d(in Pose2d initial, in Pose2d final)
Parameters
Type Name Description
Pose2d initial
Pose2d final
| Improve this Doc View Source

Transform2d(Translation2d, Rotation2d)

Declaration
public Transform2d(in Translation2d translation, in Rotation2d rotation)
Parameters
Type Name Description
Translation2d translation
Rotation2d rotation

Properties

| Improve this Doc View Source

Rotation

Declaration
public Rotation2d Rotation { get; }
Property Value
Type Description
Rotation2d
| Improve this Doc View Source

Translation

Declaration
public Translation2d Translation { get; }
Property Value
Type Description
Translation2d

Methods

| Improve this Doc View Source

Equals(Object)

Declaration
public override bool Equals(object other)
Parameters
Type Name Description
Object other
Returns
Type Description
Boolean
Overrides
ValueType.Equals(Object)
| Improve this Doc View Source

Equals(Transform2d)

Declaration
public bool Equals(Transform2d other)
Parameters
Type Name Description
Transform2d other
Returns
Type Description
Boolean
| Improve this Doc View Source

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
Int32
Overrides
ValueType.GetHashCode()

Operators

| Improve this Doc View Source

Equality(Transform2d, Transform2d)

Declaration
public static bool operator ==(in Transform2d left, in Transform2d right)
Parameters
Type Name Description
Transform2d left
Transform2d right
Returns
Type Description
Boolean
| Improve this Doc View Source

Inequality(Transform2d, Transform2d)

Declaration
public static bool operator !=(in Transform2d left, in Transform2d right)
Parameters
Type Name Description
Transform2d left
Transform2d right
Returns
Type Description
Boolean
| Improve this Doc View Source

Multiply(Transform2d, Double)

Declaration
public static Transform2d operator *(in Transform2d obj, double scalar)
Parameters
Type Name Description
Transform2d obj
Double scalar
Returns
Type Description
Transform2d

Implements

IEquatable<T>
  • Improve this Doc
  • View Source
Back to top Copyright © 2017 RobotDotNet