|
|
variable.c File ReferenceImplementation of the functions operating on box Tvariable. More... #include "variable.h" #include "error.h" #include "defines.h" #include <stdlib.h> #include <string.h> Go to the source code of this file.
Detailed DescriptionImplementation of the functions operating on box Tvariable.
Definition in file variable.c. Function Documentation
Creates a new variable.
Definition at line 21 of file variable.c. References INF, Tvariable::is, Tvariable::name, NEW, NewInterval(), and Tvariable::type. Referenced by DummifyAndAddEquation(), GenerateEquationsFromBranch(), GenerateJointEquations(), GenerateJointRangeEquations(), and GenerateLinkRot().
Here is the call graph for this function:
Here is the caller graph for this function:
Creates a new variable from another one.
Definition at line 32 of file variable.c. References CopyInterval(), Tvariable::is, Tvariable::name, NEW, and Tvariable::type. Referenced by AddVariable(), CopyVariables(), and GetCSVariable().
Here is the call graph for this function:
Here is the caller graph for this function:
Gets the variable type.
Definition at line 42 of file variable.c. References Tvariable::type. Referenced by AddVariable(), GetVariableTypeN(), IsCartesianVariable(), IsDummyVariable(), IsSecondaryVariable(), IsSystemVariable(), PrintVariables(), and RemoveVariable().
Here is the caller graph for this function:
Gets the variable name.
Definition at line 47 of file variable.c. References Tvariable::name. Referenced by AddVariable(), AddVariable2CS(), CSRemoveLCVars(), CSRemoveVarsWithCtRange(), DummifyAndAddEquation(), GetVariableID(), GetVariableNames(), InitMapping(), and SimplifyCuikSystem().
Here is the caller graph for this function:
Sets the new range for the variable.
Definition at line 52 of file variable.c. References CopyInterval(), and Tvariable::is. Referenced by DummifyAndAddEquation(), GenerateEquationsFromBranch(), GenerateJointEquations(), GenerateJointRangeEquations(), GenerateLinkRot(), SampleCuikSystemInBox(), SetCSVariableRange(), and SimplifyCuikSystem().
Here is the call graph for this function:
Here is the caller graph for this function:
Gets the range of valid values for the variable.
Definition at line 57 of file variable.c. References Tvariable::is. Referenced by BoxFromVariables(), and DummifyAndAddEquation().
Here is the caller graph for this function:
Prints a variable (name plus valid range) to a stream that can be stdout.
Definition at line 62 of file variable.c. References Tvariable::is, Tvariable::name, PRINT_VARIABLE_NAME, and PrintInterval(). Referenced by PrintVariables().
Here is the call graph for this function:
Here is the caller graph for this function:
Deletes the Tvariable structure and frees the allocated memory.
Definition at line 70 of file variable.c. References Tvariable::name. Referenced by DeleteVariables(), DummifyAndAddEquation(), GenerateEquationsFromBranch(), GenerateJointEquations(), GenerateJointRangeEquations(), GenerateLinkRot(), and RemoveVariable().
Here is the caller graph for this function:
|