public static class OpenSimCustomCoupling.TAxis
extends java.lang.Object
Constructor and Description |
---|
TAxis(TransformAxis info,
java.util.HashMap<java.lang.String,Coordinate> cmap) |
Modifier and Type | Method and Description |
---|---|
DoubleInterval |
computeBounds() |
double |
evaluate() |
Vector3d |
getAxis() |
double |
getLowerBound() |
double |
getUpperBound() |
boolean |
isFixed() |
boolean |
isRestricted() |
void |
projectCoordinates() |
void |
updateCoords(double fx)
Update internal coordinate given a desired value, uses gradient descent
respecting bounds
|
public TAxis(TransformAxis info, java.util.HashMap<java.lang.String,Coordinate> cmap)
public Vector3d getAxis()
public boolean isFixed()
public boolean isRestricted()
public double evaluate()
public double getLowerBound()
public double getUpperBound()
public DoubleInterval computeBounds()
public void updateCoords(double fx)
fx
- f(x), we seek xpublic void projectCoordinates()