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 Coordinate
c_ijk
The c ijk.private Coordinate
c_xyz
The c xyz.private java.lang.String
moveType
The 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 Coordinate
getC_ijk()
Gets the c ijk.Coordinate
getC_xyz()
Gets the c xyz.java.lang.String
getMoveType()
Gets the move type.void
setC_ijk(Coordinate c_ijk)
Sets the c ijk.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.
-
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:
toString
in classjava.lang.Object
- Returns:
- the string
-