public class Coordinate extends OpenSimObject implements Scannable
Modifier and Type | Class and Description |
---|---|
static class |
Coordinate.MotionType |
Constructor and Description |
---|
Coordinate() |
Modifier and Type | Method and Description |
---|---|
Coordinate |
clone() |
boolean |
getClamped() |
double |
getDefaultSpeedValue() |
double |
getDefaultValue() |
boolean |
getLocked() |
Coordinate.MotionType |
getMotionType() |
boolean |
getPrescribed() |
FunctionBase |
getPrescribedFunction() |
DoubleInterval |
getRange() |
boolean |
isFreeToSatisfyConstraints() |
boolean |
isWritable()
Returns
true if this component should in fact be written to
secondary storage. |
void |
scan(ReaderTokenizer rtok,
java.lang.Object ref)
Scans this element from a ReaderTokenizer.
|
void |
setClamped(boolean set) |
void |
setDefaultSpeedValue(double val) |
void |
setDefaultValue(double val) |
void |
setFreeToSatisfyConstraints(boolean set) |
void |
setLocked(boolean set) |
void |
setMotionType(Coordinate.MotionType type) |
void |
setMotionType(java.lang.String type) |
void |
setPrescribed(boolean set) |
void |
setPrescribedFunction(FunctionBase f) |
void |
setRange(double minValue,
double maxValue) |
void |
setRange(DoubleInterval range) |
void |
write(java.io.PrintWriter pw,
NumberFormat fmt,
java.lang.Object ref)
Writes a text description of this element to a PrintWriter.
|
public void setRange(DoubleInterval range)
public void setRange(double minValue, double maxValue)
public DoubleInterval getRange()
public void setDefaultValue(double val)
public double getDefaultValue()
public void setDefaultSpeedValue(double val)
public double getDefaultSpeedValue()
public void setMotionType(java.lang.String type)
public void setMotionType(Coordinate.MotionType type)
public Coordinate.MotionType getMotionType()
public boolean getClamped()
public void setClamped(boolean set)
public boolean getLocked()
public void setLocked(boolean set)
public boolean getPrescribed()
public void setPrescribed(boolean set)
public void setPrescribedFunction(FunctionBase f)
public FunctionBase getPrescribedFunction()
public boolean isFreeToSatisfyConstraints()
public void setFreeToSatisfyConstraints(boolean set)
public Coordinate clone()
clone
in interface Clonable
clone
in class OpenSimObject
public void scan(ReaderTokenizer rtok, java.lang.Object ref) throws java.io.IOException
Scannable
write
.public void write(java.io.PrintWriter pw, NumberFormat fmt, java.lang.Object ref) throws java.io.IOException
Scannable
scan
and complete
enough to allow full reconstruction of the element.public boolean isWritable()
Scannable
true
if this component should in fact be written to
secondary storage. This gives subclasses control over whether or
not they are actually written out.isWritable
in interface Scannable
true
if this component should be written to
secondary storage.