Package gcodeCompiler.util
Class CircularMove
java.lang.Object
gcodeCompiler.util.CircularMove
public class CircularMove
extends java.lang.Object
Circular move class.
-
Field Summary
Fields Modifier and Type Field Description private Coordinatec_ijkThe c ijk.private Coordinatec_xyzThe c xyz.private java.lang.StringmoveTypeThe move type. -
Constructor Summary
Constructors Constructor Description CircularMove(org.antlr.runtime.Token move_type, Coordinate c_xyz, Coordinate c_ijk)Circular move constructor. -
Method Summary
Modifier and Type Method Description CoordinategetC_ijk()Gets the c ijk.CoordinategetC_xyz()Gets the c xyz.java.lang.StringgetMoveType()Gets the move type.voidsetC_ijk(Coordinate c_ijk)Sets the c ijk.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
-
CircularMove
Circular move constructor.- Parameters:
move_type- the move typec_xyz- the c xyzc_ijk- the c ijk
-
-
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
-
getC_ijk
Gets the c ijk.- Returns:
- the c ijk
-
setC_ijk
Sets the c ijk.- Parameters:
c_ijk- the new c ijk
-
toString
public java.lang.String toString()To string.- Overrides:
toStringin classjava.lang.Object- Returns:
- the string
-