Class LinearMove

java.lang.Object
gcodeCompiler.util.LinearMove

public class LinearMove
extends java.lang.Object
The Class LinearMove.
  • Field Summary

    Fields 
    Modifier and Type Field Description
    private Coordinate c_xyz
    The c xyz.
    private java.lang.String moveType
    The move type.
  • Constructor Summary

    Constructors 
    Constructor Description
    LinearMove​(org.antlr.runtime.Token move_type, Coordinate c_xyz)
    Instantiates a new linear move.
  • Method Summary

    Modifier and Type Method Description
    Coordinate getC_xyz()
    Gets the c xyz.
    java.lang.String getMoveType()
    Gets the move type.
    void setC_xyz​(Coordinate c_xyz)
    Sets the c xyz.
    void setMoveType​(java.lang.String moveType)
    Sets the move type.
    java.lang.String toString()
    To string.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

  • Constructor Details

    • LinearMove

      public LinearMove​(org.antlr.runtime.Token move_type, Coordinate c_xyz)
      Instantiates a new linear move.
      Parameters:
      move_type - the move type
      c_xyz - the c xyz
  • Method Details

    • getMoveType

      public java.lang.String getMoveType()
      Gets the move type.
      Returns:
      the move type
    • setMoveType

      public void setMoveType​(java.lang.String moveType)
      Sets the move type.
      Parameters:
      moveType - the new move type
    • getC_xyz

      public Coordinate getC_xyz()
      Gets the c xyz.
      Returns:
      the c xyz
    • setC_xyz

      public void setC_xyz​(Coordinate c_xyz)
      Sets the c xyz.
      Parameters:
      c_xyz - the new c xyz
    • toString

      public java.lang.String toString()
      To string.
      Overrides:
      toString in class java.lang.Object
      Returns:
      the string