|
void | Awake () |
|
void | Start () |
|
void | PerformUnitTests () |
|
void | UnitTest_SolveStretchConstraint (int iterations, Vector3 particlePositionOne, Vector3 particlePositionTwo, BSM.Quaternion orientation, bool logDeltaResults=true) |
|
void | CheckStretchConstraintDeviation (Vector3 particlePositionOne, Vector3 particlePositionTwo, BSM.Quaternion orientation, BSM.Quaternion e_3, float rodElementLength) |
|
void | CheckRodElementLength (Vector3 particlePositionOne, Vector3 particlePositionTwo, float defaultRodElementLength) |
|
Vector3 | ComputeStretchConstraintDeviation (Vector3 particlePositionOne, Vector3 particlePositionTwo, BSM.Quaternion orientation, BSM.Quaternion e_3, float rodElementLength) |
|
|
static void | LogDeltaResults (in Vector3 deltaPositionOne, in Vector3 deltaPositionTwo, in BSM.Quaternion deltaOrientation) |
|
◆ Awake()
void GuidewireSim.UnitTests.Awake |
( |
| ) |
|
|
private |
◆ CheckRodElementLength()
void GuidewireSim.UnitTests.CheckRodElementLength |
( |
Vector3 |
particlePositionOne, |
|
|
Vector3 |
particlePositionTwo, |
|
|
float |
defaultRodElementLength |
|
) |
| |
|
private |
◆ CheckStretchConstraintDeviation()
void GuidewireSim.UnitTests.CheckStretchConstraintDeviation |
( |
Vector3 |
particlePositionOne, |
|
|
Vector3 |
particlePositionTwo, |
|
|
BSM.Quaternion |
orientation, |
|
|
BSM.Quaternion |
e_3, |
|
|
float |
rodElementLength |
|
) |
| |
|
private |
◆ ComputeStretchConstraintDeviation()
Vector3 GuidewireSim.UnitTests.ComputeStretchConstraintDeviation |
( |
Vector3 |
particlePositionOne, |
|
|
Vector3 |
particlePositionTwo, |
|
|
BSM.Quaternion |
orientation, |
|
|
BSM.Quaternion |
e_3, |
|
|
float |
rodElementLength |
|
) |
| |
|
private |
◆ LogDeltaResults()
static void GuidewireSim.UnitTests.LogDeltaResults |
( |
in Vector3 |
deltaPositionOne, |
|
|
in Vector3 |
deltaPositionTwo, |
|
|
in BSM.Quaternion |
deltaOrientation |
|
) |
| |
|
staticprivate |
◆ PerformUnitTests()
void GuidewireSim.UnitTests.PerformUnitTests |
( |
| ) |
|
|
private |
◆ Start()
void GuidewireSim.UnitTests.Start |
( |
| ) |
|
|
private |
◆ UnitTest_SolveStretchConstraint()
void GuidewireSim.UnitTests.UnitTest_SolveStretchConstraint |
( |
int |
iterations, |
|
|
Vector3 |
particlePositionOne, |
|
|
Vector3 |
particlePositionTwo, |
|
|
BSM.Quaternion |
orientation, |
|
|
bool |
logDeltaResults = true |
|
) |
| |
|
private |
◆ constraintSolvingStep
The component ConstraintSolvingStep that is responsible for correcting the predictions with the collision and model constraints.
◆ executeUnitTests
bool GuidewireSim.UnitTests.executeUnitTests = false |
|
private |
Whether or not to perform all unit tests of this script.
◆ mathHelper
The component MathHelper that provides math related helper functions.
The documentation for this class was generated from the following file: