|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.tensegrity.composite.coordinate.ScaleUtilities
This class provides some general functionalities needed to work with
Scales.
| Method Summary | |
static MutableScale |
convertToMutableScale(Scale scale)
Returns a MutableScale holding the same values as the given
immutable Scale. |
static MutableScale |
convertToMutableScaleCopy(Scale scale)
Returns a MutableScale holding the same values as the given
immutable Scale. |
static java.lang.String |
getCanonicalDescription(java.lang.String type,
double minimum,
double maximum)
Returns the canonical description of a Scale. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static final MutableScale convertToMutableScale(Scale scale)
MutableScale holding the same values as the given
immutable Scale.
scale - the Scale to copy the values from.
Scale.public static final MutableScale convertToMutableScaleCopy(Scale scale)
MutableScale holding the same values as the given
immutable Scale. This function ensures that the returned
MutableScale is another instance than the given one.
scale - the Scale to copy the values from.
Scale.
public static final java.lang.String getCanonicalDescription(java.lang.String type,
double minimum,
double maximum)
Scale.
type - the type of the Scaleminimum - the minimum value for the scalemaximum - the maximum value for the scale
Scale
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||