java.lang.Object
de.grogra.vecmath.FunctionParameter
de.grogra.vecmath.CutConeParameter
A special parameter-class for the cutCone-function in the Math2-class.
- Author:
- Jan Dérer
-
Constructor Summary
ConstructorsConstructorDescriptionStandardconstructor initialized the attributes with 0.0fCutConeParameter(boolean correct, boolean exists, float lowLim, float upLim, float a) Specialconstructor to initialized the attributes with custom-values -
Method Summary
Modifier and TypeMethodDescriptionfloatgetA()Getter for the parameterfloatGetter for the lower limit parameterfloatgetUpLim()Getter for the upper limit parametervoidsetA(float a) Setter for the parametervoidsetLowLim(float lowLim) Setter for the lower limit parametervoidsetUpLim(float upLim) Setter for the lower limit parameterMethods inherited from class de.grogra.vecmath.FunctionParameter
isCorrect, isExists, setCorrect, setExists
-
Constructor Details
-
CutConeParameter
public CutConeParameter()Standardconstructor initialized the attributes with 0.0f -
CutConeParameter
public CutConeParameter(boolean correct, boolean exists, float lowLim, float upLim, float a) Specialconstructor to initialized the attributes with custom-values- Parameters:
correct- The function works correctexists- Values exists after running a functionlowLim- Lower limitupLim- Upper limita- Parameter
-
-
Method Details
-
getA
public float getA()Getter for the parameter- Returns:
- Parameter
-
setA
public void setA(float a) Setter for the parameter- Parameters:
a- Parameter
-
getLowLim
public float getLowLim()Getter for the lower limit parameter- Returns:
- The lower limit parameter
-
setLowLim
public void setLowLim(float lowLim) Setter for the lower limit parameter- Parameters:
lowLim- The new lower limit
-
getUpLim
public float getUpLim()Getter for the upper limit parameter- Returns:
- The upper limit parameter
-
setUpLim
public void setUpLim(float upLim) Setter for the lower limit parameter- Parameters:
upLim- The new upper limit
-