public class CoordinateHandle extends java.lang.Object implements HasProperties
Modifier and Type | Field and Description |
---|---|
static PropertyList |
myProps |
Constructor and Description |
---|
CoordinateHandle(java.lang.String name,
JointCoordinateHandle jch) |
Modifier and Type | Method and Description |
---|---|
static CoordinateHandle |
createFromJointSet(java.lang.String coordName,
ModelComponentMap componentMap) |
static JointCoordinateHandle |
createJCH(java.lang.String path,
OpenSimObject ref,
ModelComponentMap componentMap) |
static JointCoordinateHandle |
createJCHFromBodySet(java.lang.String coordName,
ModelComponentMap componentMap) |
static JointCoordinateHandle |
createJCHFromJoint(java.lang.String coordName,
JointBase joint,
ModelComponentMap componentMap) |
static JointCoordinateHandle |
createJCHFromJointSet(java.lang.String coordName,
ModelComponentMap componentMap) |
PropertyList |
getAllPropertyInfo()
Returns a list giving static information about all properties exported by
this object.
|
JointCoordinateHandle |
getJCH() |
java.lang.String |
getName() |
Property |
getProperty(java.lang.String name)
Returns a property associated with a specified path name.
|
double |
getValue() |
double |
getValueDeg() |
Range |
getValueRange() |
void |
setValue(double value) |
void |
setValueDeg(double value) |
public static PropertyList myProps
public CoordinateHandle(java.lang.String name, JointCoordinateHandle jch)
public PropertyList getAllPropertyInfo()
HasProperties
getAllPropertyInfo
in interface HasProperties
public java.lang.String getName()
public JointCoordinateHandle getJCH()
public Property getProperty(java.lang.String name)
HasProperties
.
' characters. A sub-property
exists if the value of a property is itself an object which exports
properties. It is only possible to obtain a sub-property handle if each of
its ancestor properties exports their values by reference.getProperty
in interface HasProperties
name
- name of the desired property or sub-propertypublic double getValue()
public void setValue(double value)
public double getValueDeg()
public void setValueDeg(double value)
public Range getValueRange()
public static CoordinateHandle createFromJointSet(java.lang.String coordName, ModelComponentMap componentMap)
public static JointCoordinateHandle createJCHFromJoint(java.lang.String coordName, JointBase joint, ModelComponentMap componentMap)
public static JointCoordinateHandle createJCHFromJointSet(java.lang.String coordName, ModelComponentMap componentMap)
public static JointCoordinateHandle createJCHFromBodySet(java.lang.String coordName, ModelComponentMap componentMap)
public static JointCoordinateHandle createJCH(java.lang.String path, OpenSimObject ref, ModelComponentMap componentMap)