| 228 | |
| 229 | |
| 230 | void Foam::patchCloudSet::genSamples() |
| 231 | { |
| 232 | // Storage for sample points |
| 233 | DynamicList<point> samplingPts; |
| 234 | DynamicList<label> samplingCells; |
| 235 | DynamicList<label> samplingFaces; |
| 236 | DynamicList<label> samplingSegments; |
| 237 | DynamicList<scalar> samplingCurveDist; |
| 238 | |
| 239 | calcSamples |
| 240 | ( |
| 241 | samplingPts, |
| 242 | samplingCells, |
| 243 | samplingFaces, |
| 244 | samplingSegments, |
| 245 | samplingCurveDist |
| 246 | ); |
| 247 | |
| 248 | samplingPts.shrink(); |
| 249 | samplingCells.shrink(); |
| 250 | samplingFaces.shrink(); |
| 251 | samplingSegments.shrink(); |
| 252 | samplingCurveDist.shrink(); |
| 253 | |
| 254 | setSamples |
| 255 | ( |
| 256 | samplingPts, |
| 257 | samplingCells, |
| 258 | samplingFaces, |
| 259 | samplingSegments, |
| 260 | samplingCurveDist |
| 261 | ); |
| 262 | } |
| 263 | |
| 264 | |
| 265 | // * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * // |
no test coverage detected