You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,9 +40,9 @@ Then you can run `./Tight_Inclusion_bin` to test the `handcrafted queries` in th
40
40
## Usage
41
41
Include `#include <tight_inclusion/ccd.hpp>`
42
42
43
-
To check edge-edge ccd, use `bool ticcd::edgeEdgeCCD_double()`;
43
+
To check edge-edge ccd, use `bool ticcd::edgeEdgeCCD()`;
44
44
45
-
To check vertex-face ccd, use `bool ticcd::vertexFaceCCD_double()`;
45
+
To check vertex-face ccd, use `bool ticcd::vertexFaceCCD()`;
46
46
47
47
💡 If collision is detected, the ccd function will return `true`, otherwise, the ccd function will return `false`. Since our method is CONSERVATIVE, if the returned result is `false`, we guarantee that there is no collision happens. If the result is `true`, it is possible that there is no collision but we falsely report a collision, but we can guarantee that this happens only if the minimal distance between the two primitives in this time step is no larger than `tolerance + ms + err`. We wil explain these parameters below.
48
48
@@ -64,11 +64,11 @@ output:
64
64
output_tolerance The real solving precision. If early termination is enabled, the solving precision may not reach the target precision. This parameter will return the real solving precision when the code is terminated.
65
65
```
66
66
## Tips
67
-
💡 The input parameter `err` is crucial to guarantee our algorithm to be a conservative method not affected by floating point rounding errors. To run a single query, you can set `err = {{-1, -1, -1}}` to enable a sub-function to calculate the real numerical filters when solving CCD. If you are integrating our CCD in simulators, you need to:
67
+
💡 The input parameter `err` is crucial to guarantee our algorithm to be a conservative method not affected by floating point rounding errors. To run a single query, you can set `err = Eigen::Array3d(-1, -1, -1)` to enable a sub-function to calculate the real numerical filters when solving CCD. If you are integrating our CCD in simulators, you need to:
68
68
69
69
- Include the headler: `#include <tight_inclusion/interval_root_finder.hpp>`.
0 commit comments