public abstract class ConstraintBase extends OpenSimObject implements ModelComponentGenerator<ModelComponent>
Modifier and Type | Method and Description |
---|---|
ConstraintBase |
clone() |
abstract ModelComponent |
createComponent(java.io.File geometryPath,
ModelComponentMap componentMap)
Creates and returns a model component, using the provided component map
to look up other dependent objects.
|
boolean |
getIsEnforced() |
void |
setIsEnforced(boolean enable) |
public void setIsEnforced(boolean enable)
public boolean getIsEnforced()
public ConstraintBase clone()
clone
in interface Clonable
clone
in class OpenSimObject
public abstract ModelComponent createComponent(java.io.File geometryPath, ModelComponentMap componentMap)
ModelComponentGenerator
createComponent
in interface ModelComponentGenerator<ModelComponent>
geometryPath
- path to search for geometry filescomponentMap
- map for looking up other objects