mirror of
https://github.com/dgirardeau/q3DMASC.git
synced 2026-08-31 09:30:48 +08:00
changes following PR
This commit is contained in:
@@ -27,15 +27,14 @@ using namespace masc;
|
||||
|
||||
bool Feature::CheckSFExistence(ccPointCloud* cloud, const char* resultSFName)
|
||||
{
|
||||
int sfIdx = cloud->getScalarFieldIndexByName(resultSFName);
|
||||
if (sfIdx >= 0)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
else
|
||||
if (!cloud || !resultSFName)
|
||||
{
|
||||
assert(false);
|
||||
return false;
|
||||
}
|
||||
|
||||
int sfIdx = cloud->getScalarFieldIndexByName(resultSFName);
|
||||
return (sfIdx >= 0);
|
||||
}
|
||||
|
||||
CCCoreLib::ScalarField* Feature::PrepareSF(ccPointCloud* cloud, const char* resultSFName, SFCollector* generatedScalarFields/*=nullptr*/, SFCollector::Behavior behavior/*=SFCollector::CAN_REMOVE*/)
|
||||
|
||||
Reference in New Issue
Block a user