Module rgg

Class RH

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

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

  • Constructor Details

    • RH

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

      public RH(float angle)
      Creates a new RH 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