| 67 | |
| 68 | template <typename T, typename F> |
| 69 | Expected<Mesh> runShell( const T& meshOrCloud, const ParametersMetric& params, const F& buildDistanceField ) |
| 70 | { |
| 71 | auto bbox = meshOrCloud.getBoundingBox(); |
| 72 | auto dfParams = getDistanceFieldParams( bbox, params ); |
| 73 | auto mcParams = getMarchingCubesParams( bbox, params ); |
| 74 | auto df = buildDistanceField( meshOrCloud, dfParams ); |
| 75 | return marchingCubes( df, mcParams ); |
| 76 | } |
| 77 | |
| 78 | template <typename F> |
| 79 | Expected<Mesh> runShell( const Mesh& mesh, const ParametersRegions& params, const F& buildDistanceField ) |
no test coverage detected