ENH: patchCloud: return pTraits<Type>::max for unfound points

This commit is contained in:
mattijs
2011-07-14 22:10:14 +01:00
parent 81c2d88bd3
commit e47ac108ee
4 changed files with 101 additions and 74 deletions

View File

@ -119,15 +119,18 @@ sets
somePatchPoints
{
// Sample nearest points on selected patches. Use with
// interpolations:
// Sample nearest points on selected patches. Looks only up to
// maxDistance away. Any sampling point not found will get value
// pTraits<Type>::max (usually VGREAT)
// Use with interpolations:
// - cell (cell value)
// - cellPatchConstrained (boundary value)
// - cellPoint (interpolated boundary value)
type patchCloud;
axis xyz;
points ((0.049 0.099 0.005)(0.051 0.054 0.005));
patches (".*Wall.*");
type patchCloud;
axis xyz;
points ((0.049 0.099 0.005)(0.051 0.054 0.005));
maxDistance 0.1; // maximum distance to search
patches (".*Wall.*");
}
);