| 100 | } |
| 101 | |
| 102 | Expected<Mesh> doubleOffsetMesh( const MeshPart& mp, float offsetA, float offsetB, const OffsetParameters& params /*= {} */ ) |
| 103 | { |
| 104 | assert ( params.signDetectionMode != SignDetectionMode::Unsigned ); |
| 105 | return doubleOffsetVdb( mp, |
| 106 | { |
| 107 | .voxelSize = params.voxelSize, |
| 108 | .offsetA = offsetA, |
| 109 | .offsetB = offsetB, |
| 110 | .fwn = params.fwn, |
| 111 | .windingNumberThreshold = params.windingNumberThreshold, |
| 112 | .windingNumberBeta = params.windingNumberBeta, |
| 113 | .progress = params.callBack |
| 114 | } ); |
| 115 | } |
| 116 | |
| 117 | Expected<Mesh> mcOffsetMesh( const MeshPart& mp, float offset, |
| 118 | const OffsetParameters& params, Vector<VoxelId, FaceId> * outMap ) |