public abstract class QPTermBase extends java.lang.Object implements QPTerm, HasProperties
Modifier and Type | Field and Description |
---|---|
static boolean |
DEFAULT_ENABLED |
static double |
defaultWeight |
static PropertyList |
myProps |
Constructor and Description |
---|
QPTermBase() |
QPTermBase(double weight) |
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
PropertyList |
getAllPropertyInfo()
Returns a list giving static information about all properties exported by
this object.
|
Property |
getProperty(java.lang.String pathName)
Returns a property associated with a specified path name.
|
void |
getQP(MatrixNd Q,
VectorNd P,
double t0,
double t1)
Sums this term to the arguments Q and P
|
int |
getSize() |
double |
getWeight() |
boolean |
isEnabled()
Returns that enabled status of this term, for use if term is
an inequality / equality constraint
|
void |
setEnabled(boolean enabled) |
void |
setSize(int size) |
void |
setWeight(double w) |
public static final double defaultWeight
public static final boolean DEFAULT_ENABLED
public static PropertyList myProps
public PropertyList getAllPropertyInfo()
HasProperties
getAllPropertyInfo
in interface HasProperties
public Property getProperty(java.lang.String pathName)
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
pathName
- name of the desired property or sub-propertypublic double getWeight()
public boolean isEnabled()
QPTerm
public void setEnabled(boolean enabled)
public void getQP(MatrixNd Q, VectorNd P, double t0, double t1)
QPTerm