Package gcodeCompiler.util
Class InfoGeometriche
java.lang.Object
gcodeCompiler.util.InfoGeometriche
public class InfoGeometriche
extends java.lang.Object
The Class InfoGeometriche.
-
Field Summary
Fields Modifier and Type Field Description private CircularMovecmThe cm.private java.lang.StringcompensationThe compensation.private java.lang.Stringcoord_abs_relThe coord abs rel.private LinearMovelmThe lm. -
Constructor Summary
Constructors Constructor Description InfoGeometriche()Instantiates a new info geometriche.InfoGeometriche(CircularMove cm)Instantiates a new info geometriche.InfoGeometriche(LinearMove lm)Instantiates a new info geometriche.InfoGeometriche(org.antlr.runtime.Token commmand, char type)Instantiates a new info geometriche. -
Method Summary
Modifier and Type Method Description CircularMovegetCm()Gets the cm.java.lang.StringgetCompensation()Gets the compensation.java.lang.StringgetCoord_abs_rel()Gets the coord abs rel.LinearMovegetLm()Gets the lm.voidsetCm(CircularMove cm)Sets the cm.voidsetCompensation(java.lang.String compensation)Sets the compensation.voidsetCoord_abs_rel(java.lang.String coord_abs_rel)Sets the coord abs rel.voidsetLm(LinearMove lm)Sets the lm.java.lang.StringtoString()To string.
-
Field Details
-
coord_abs_rel
private java.lang.String coord_abs_relThe coord abs rel. -
compensation
private java.lang.String compensationThe compensation. -
lm
The lm. -
cm
The cm.
-
-
Constructor Details
-
InfoGeometriche
public InfoGeometriche(org.antlr.runtime.Token commmand, char type)Instantiates a new info geometriche.- Parameters:
commmand- the commmandtype- the type
-
InfoGeometriche
public InfoGeometriche()Instantiates a new info geometriche. -
InfoGeometriche
Instantiates a new info geometriche.- Parameters:
lm- the lm
-
InfoGeometriche
Instantiates a new info geometriche.- Parameters:
cm- the cm
-
-
Method Details
-
getCoord_abs_rel
public java.lang.String getCoord_abs_rel()Gets the coord abs rel.- Returns:
- the coord abs rel
-
setCoord_abs_rel
public void setCoord_abs_rel(java.lang.String coord_abs_rel)Sets the coord abs rel.- Parameters:
coord_abs_rel- the new coord abs rel
-
getCompensation
public java.lang.String getCompensation()Gets the compensation.- Returns:
- the compensation
-
setCompensation
public void setCompensation(java.lang.String compensation)Sets the compensation.- Parameters:
compensation- the new compensation
-
getLm
Gets the lm.- Returns:
- the lm
-
setLm
Sets the lm.- Parameters:
lm- the new lm
-
getCm
Gets the cm.- Returns:
- the cm
-
setCm
Sets the cm.- Parameters:
cm- the new cm
-
toString
public java.lang.String toString()To string.- Overrides:
toStringin classjava.lang.Object- Returns:
- the string
-