Package gcodeCompiler.util
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 Coordinatec_xyzThe c xyz.private java.lang.StringmoveTypeThe 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 CoordinategetC_xyz()Gets the c xyz.java.lang.StringgetMoveType()Gets the move type.voidsetC_xyz(Coordinate c_xyz)Sets the c xyz.voidsetMoveType(java.lang.String moveType)Sets the move type.java.lang.StringtoString()To string.
-
Field Details
-
Constructor Details
-
LinearMove
Instantiates a new linear move.- Parameters:
move_type- the move typec_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
Gets the c xyz.- Returns:
- the c xyz
-
setC_xyz
Sets the c xyz.- Parameters:
c_xyz- the new c xyz
-
toString
public java.lang.String toString()To string.- Overrides:
toStringin classjava.lang.Object- Returns:
- the string
-