add the verticality feature (VERT)

This commit is contained in:
Paul Leroy
2024-08-05 12:46:09 +02:00
parent ad47aad516
commit 88727279f7
4 changed files with 15 additions and 6 deletions
+4
View File
@@ -228,6 +228,7 @@ bool NeighborhoodFeature::computeValue(CCCoreLib::DgmOctree::NeighboursSet& poin
case SPHER:
case LINEA:
case PLANA:
case VERT:
{
CCCoreLib::Neighbourhood::GeomFeature f;
switch (type)
@@ -250,6 +251,9 @@ bool NeighborhoodFeature::computeValue(CCCoreLib::DgmOctree::NeighboursSet& poin
case PLANA:
f = CCCoreLib::Neighbourhood::Planarity;
break;
case VERT:
f = CCCoreLib::Neighbourhood::Verticality;
break;
default:
//impossible
assert(false);