|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.tensegrity.composite.coordinate.DefaultScaleLinear
com.tensegrity.composite.coordinate.DefaultMutableScaleLinear
Mutable version of the linear scale implemented in class
DefaultScaleLinear. For a detailed Documentation have a look at
the Scale and
MutableScale interfaces.
DefaultScaleLinear,
Scale,
MutableScale| Field Summary |
| Fields inherited from interface com.tensegrity.composite.coordinate.Scale |
TYPE_LINEAR |
| Constructor Summary | |
DefaultMutableScaleLinear(double minimumScale,
double maximumScale)
Constructor specifying the minimum and maximum value for this scale. |
|
| Method Summary | |
Scale |
deepCopy()
Method to deep copy this scale instance. |
void |
setScaleMaximum(double maximumScale)
Sets the maximum value for this scale. |
void |
setScaleMinimum(double minimumScale)
Sets the minimum value for this scale. |
void |
setScaleRange(double minimumScale,
double maximumScale)
Sets the range of this scale by specifying a minumum and a maximum value. |
| Methods inherited from class com.tensegrity.composite.coordinate.DefaultScaleLinear |
descale, equals, getDescaleFactor, getScaleFactor, getScaleMaximum, getScaleMinimum, getScaleRange, hashCode, scale, toString |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.tensegrity.composite.coordinate.Scale |
descale, getDescaleFactor, getScaleFactor, getScaleMaximum, getScaleMinimum, getScaleRange, scale |
| Constructor Detail |
public DefaultMutableScaleLinear(double minimumScale,
double maximumScale)
minimumScale - the minimum value of this scale.maximumScale - the maximum value of this scale.| Method Detail |
public Scale deepCopy()
Scale
deepCopy in interface ScaledeepCopy in class DefaultScaleLinearpublic void setScaleMinimum(double minimumScale)
MutableScale
setScaleMinimum in interface MutableScaleminimumScale - the value ti set as a minimum.public void setScaleMaximum(double maximumScale)
MutableScale
setScaleMaximum in interface MutableScalemaximumScale - the value ti set as a maximum.
public void setScaleRange(double minimumScale,
double maximumScale)
MutableScale
setScaleRange in interface MutableScaleminimumScale - the minimum value for this scale.maximumScale - the maximum value for this scale.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||