| 520 | } |
| 521 | |
| 522 | Expected<SurfacePath, PathError> computeSurfacePath( const MeshPart & mp, |
| 523 | const MeshTriPoint & start, const MeshTriPoint & end, int maxGeodesicIters, |
| 524 | const VertBitSet* vertRegion, VertScalars * outSurfaceDistances ) |
| 525 | { |
| 526 | MR_TIMER; |
| 527 | auto res = computeFastMarchingPath( mp, start, end, vertRegion, outSurfaceDistances ); |
| 528 | if ( res.has_value() && !res.value().empty() ) |
| 529 | reducePath( mp.mesh, start, res.value(), end, maxGeodesicIters ); |
| 530 | return res; |
| 531 | } |
| 532 | |
| 533 | Expected<SurfacePath, PathError> computeGeodesicPath( const Mesh & mesh, |
| 534 | const MeshTriPoint & start, const MeshTriPoint & end, GeodesicPathApprox atype, |
no test coverage detected