| 303 | |
| 304 | |
| 305 | void Foam::polyLineSet::genSamples() |
| 306 | { |
| 307 | // Storage for sample points |
| 308 | DynamicList<point> samplingPts; |
| 309 | DynamicList<label> samplingCells; |
| 310 | DynamicList<label> samplingFaces; |
| 311 | DynamicList<label> samplingSegments; |
| 312 | DynamicList<scalar> samplingCurveDist; |
| 313 | |
| 314 | calcSamples |
| 315 | ( |
| 316 | samplingPts, |
| 317 | samplingCells, |
| 318 | samplingFaces, |
| 319 | samplingSegments, |
| 320 | samplingCurveDist |
| 321 | ); |
| 322 | |
| 323 | samplingPts.shrink(); |
| 324 | samplingCells.shrink(); |
| 325 | samplingFaces.shrink(); |
| 326 | samplingSegments.shrink(); |
| 327 | samplingCurveDist.shrink(); |
| 328 | |
| 329 | setSamples |
| 330 | ( |
| 331 | samplingPts, |
| 332 | samplingCells, |
| 333 | samplingFaces, |
| 334 | samplingSegments, |
| 335 | samplingCurveDist |
| 336 | ); |
| 337 | } |
| 338 | |
| 339 | |
| 340 | // * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * // |
no test coverage detected