ENH: Add findSphere to dynamicTreeDataPoint

This commit is contained in:
laurence
2012-02-03 14:33:11 +00:00
parent 10b019f618
commit 7ddba46e36
2 changed files with 29 additions and 0 deletions

View File

@ -105,6 +105,14 @@ public:
const treeBoundBox& sampleBb
) const;
//- Check if any point on shape is inside sphere.
bool overlaps
(
const label index,
const point& centre,
const scalar radiusSqr
) const;
//- Calculates nearest (to sample) point in shape.
// Returns actual point and distance (squared)
void findNearest