Skip to content
Snippets Groups Projects
Commit 7f7519ed authored by Sean McBride's avatar Sean McBride Committed by Kitware Robot
Browse files

Merge topic 'probe-link'


5d6eacad Fixed link error building with Xcode 8.2.1

Acked-by: default avatarKitware Robot <kwrobot@kitware.com>
Acked-by: default avatarBen Boeckel <ben.boeckel@kitware.com>
Merge-request: !9334
parents 85295203 5d6eacad
Branches
No related tags found
No related merge requests found
......@@ -397,8 +397,6 @@ class vtkProbeFilter::ProbeEmptyPointsWorklet
double Tol2;
int MaxCellSize;
static constexpr double SnappingRadius = std::numeric_limits<double>::infinity();
struct LocalData
{
vtkSmartPointer<vtkFindCellStrategy> Strategy;
......@@ -589,7 +587,8 @@ public:
if (this->ProbeFilter->SnapToCellWithClosestPoint && strategy)
{
// Find the closest point and the cell that it belong to
closestPointFound = strategy->FindClosestPointWithinRadius(x, this->SnappingRadius,
constexpr double snappingRadius = std::numeric_limits<double>::infinity();
closestPointFound = strategy->FindClosestPointWithinRadius(x, snappingRadius,
lastClosestPoint, currentCell, lastCellId, lastSubId, dist2, inside);
if (closestPointFound)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment