Module rgg

Class RL

All Implemented Interfaces:
Transformation, Manageable, PersistenceCapable, Shareable, UserFields, XObject, Map, Serializable

public class RL extends Rotation
This class implements a rotation about the local x-axis (the turtle's left axis).
Author:
Ole Kniemeyer
See Also:
  • Field Details

  • Constructor Details

    • RL

      public RL()
      Creates a new RL node with an initial angle of 0 degrees.
    • RL

      public RL(float angle)
      Creates a new RL node which performs a counter-clockwise rotation of angle degrees.
      Parameters:
      angle - rotation angle in degrees
  • Method Details

    • getNTypeImpl

      protected Node.NType getNTypeImpl()
      Description copied from class: Node
      This method returns the Node.NType which describes the managed fields of the class of this node. This method has to be implemented in every concrete subclass.
      Overrides:
      getNTypeImpl in class Node
      Returns:
      type describing the managed fields of the class of this node
    • newInstance

      protected Node newInstance()
      Description copied from class: Node
      This method returns a new instance of the class of this node. This method has to be implemented in every concrete subclass.
      Overrides:
      newInstance in class Node
      Returns:
      new instance of class of this node
    • transform

      protected void transform(double c, double s, Matrix4d in, Matrix4d out)
      Specified by:
      transform in class Rotation