@@ -186,7 +186,7 @@ class PolySoupToLevelSet
186186 template <class ShrinkWrapT , class ProgressT >
187187 void process (const ShrinkWrapT &D, ProgressT *progress, int mode = 0 );
188188
189- // / @brief Number of shrink wrap grids generated, i.e. depth of the LOD hierarchy.
189+ // / @brief Number of shrink wrap grids generated, i.e. depth of the LOD hierarchy.
190190 size_t gridCount () const {return mGrids .size ();}
191191
192192 // / @brief Returns a shared pointer to a particular shrink wrap grid
@@ -229,7 +229,7 @@ class PolySoupToLevelSet
229229private:
230230 PolySoup mPoly ;
231231 float mMinVoxelSize , mMaxVoxelSize , mHalfWidth ;
232- std::vector<typename GridType::Ptr> mGrids ;// fine(0) -> coarse grids(size-1)
232+ std::vector<typename GridType::Ptr> mGrids ;// fine(0) -> coarse grids(size-1)
233233 bool mIsGridSDF ;
234234
235235 // / @brief Private method that resamples inGrid(dx) to outGrid(dx/2).
@@ -348,7 +348,7 @@ auto PolySoupToLevelSet<GridType>::offset(float dx, int mode)
348348 // grid->tree().root().setBackground(exteriorWidth, /*updateChildNodes=*/true);
349349 // tools::signedFloodFillWithValues(grid->tree(), exteriorWidth, interiorWidth);
350350 tools::distanceFieldToSDF (*grid, /* removeDisconnectedInterior*/ true , /* rebuildNarrowBand*/ true );
351- break ;
351+ break ;
352352 case 2 :// algorithm using Greg's polyOffset algorithm
353353 grid = tools::createLevelSetDilatedMesh<GridType, float >(mPoly .vtx , mPoly .tri , mPoly .quad , /* radius*/ dx, /* voxel size*/ dx, mHalfWidth );
354354 // tools::distanceFieldToSDF(*grid, /*removeDisconnectedInterior*/true, /*rebuildNarrowBand*/false);
0 commit comments