Transform class
A transform contains translation and rotation. It is used to represent the position and orientation of rigid frames.
Constructors
- Transform.clone(Transform xf)
- Initialize as a copy of another transform.
- Transform.from(Vector2 position, Rot r)
- Initialize using a position vector and a rotation matrix.
- Transform.mul(Transform a, Transform b)
-
factory
- Transform.mulTrans(Transform a, Transform b)
-
factory
- Transform.zero()
- The default constructor.
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setFrom(
Transform xf) → void - Set this to equal another transform.
-
setIdentity(
) → void - Set this to the identity transform.
-
setVec2Angle(
Vector2 p, double angle) → void - Set this based on the position and angle.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited