ENH: update surfaceFeatureExtract to work with new surfaceFeatures

This commit is contained in:
laurence
2013-05-31 10:39:25 +01:00
parent 9d2a0b25db
commit 65ed16c33e

View File

@ -1021,7 +1021,7 @@ int main(int argc, char *argv[])
autoPtr<surfaceFeatures> set;
scalar includedAngle = -1;
scalar includedAngle = 0.0;
if (extractionMethod == "extractFromFile")
{
@ -1123,7 +1123,7 @@ int main(int argc, char *argv[])
Info<< "Removing features with number of edges < "
<< minElem << endl;
set().trimFeatures(minLen, minElem);
set().trimFeatures(minLen, minElem, includedAngle);
}
}
@ -1223,7 +1223,7 @@ int main(int argc, char *argv[])
surfaceFeatures newSet(surf);
newSet.setFromStatus(edgeStat);
newSet.setFromStatus(edgeStat, includedAngle);
Info<< nl
<< "Initial feature set:" << nl