BUG: extendedFeatureEdgeMesh feature point tree was not initialised correctly

This commit is contained in:
laurence
2012-02-10 09:17:08 +00:00
parent f25c2a1155
commit 0b1644a1c4

View File

@ -853,13 +853,17 @@ Foam::extendedFeatureEdgeMesh::pointTree() const
bb.min() -= point(ROOTVSMALL, ROOTVSMALL, ROOTVSMALL);
bb.max() += point(ROOTVSMALL, ROOTVSMALL, ROOTVSMALL);
labelList allPoints(identity(points().size()));
const labelList featurePointLabels = identity(nonFeatureStart_);
pointTree_.reset
(
new indexedOctree<treeDataPoint>
(
treeDataPoint(points()),
treeDataPoint
(
points(),
featurePointLabels
),
bb, // bb
8, // maxLevel
10, // leafsize