(xyz, normals, batch, curvature_scales)
| 90 | |
| 91 | |
| 92 | def compute_curvatures(xyz, normals, batch, curvature_scales): |
| 93 | cur = curvatures( |
| 94 | vertices=xyz, |
| 95 | triangles=None, |
| 96 | normals=normals, |
| 97 | scales=curvature_scales, |
| 98 | batch=batch, |
| 99 | reg=1e-10, |
| 100 | ) |
| 101 | cur[torch.isnan(cur)] = 0. |
| 102 | return cur |
| 103 | |
| 104 | |
| 105 | # On-the-fly generation of the surfaces ======================================== |
nothing calls this directly
no test coverage detected