From ec7160e6379dfef6df937117632f7da946aa69b4 Mon Sep 17 00:00:00 2001 From: iasonmanolas Date: Fri, 18 Feb 2022 17:43:07 +0200 Subject: [PATCH] Renamed getEdges and getVertices to computeEdges and computeVertices --- topologyenumerator.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/topologyenumerator.cpp b/topologyenumerator.cpp index 261f4e0..21d8342 100755 --- a/topologyenumerator.cpp +++ b/topologyenumerator.cpp @@ -115,7 +115,7 @@ void TopologyEnumerator::computeValidPatterns(const std::vector &reduced patternGeometryAllEdges, allPossibleEdges); PatternGeometry patternAllValidEdges; - patternAllValidEdges.add(patternGeometryAllEdges.getVertices(), validEdges); + patternAllValidEdges.add(patternGeometryAllEdges.computeVertices(), validEdges); if (debugIsOn) { // Export all valid edges in a ply patternAllValidEdges.save( @@ -138,12 +138,12 @@ void TopologyEnumerator::computeValidPatterns(const std::vector &reduced const size_t ei1 = *setIt; vcg::tri::Allocator::AddEdge( intersectingEdgePair, - patternGeometryAllEdges.getVertices()[validEdges[ei0][0]], - patternGeometryAllEdges.getVertices()[validEdges[ei0][1]]); + patternGeometryAllEdges.computeVertices()[validEdges[ei0][0]], + patternGeometryAllEdges.computeVertices()[validEdges[ei0][1]]); vcg::tri::Allocator::AddEdge( intersectingEdgePair, - patternGeometryAllEdges.getVertices()[validEdges[ei1][0]], - patternGeometryAllEdges.getVertices()[validEdges[ei1][1]]); + patternGeometryAllEdges.computeVertices()[validEdges[ei1][0]], + patternGeometryAllEdges.computeVertices()[validEdges[ei1][1]]); intersectingEdgePair.save(std::filesystem::path(intersectingEdgesPath) .append(std::to_string(mapIt->first) + "_" + std::to_string(*setIt) + ".ply") @@ -192,7 +192,7 @@ void TopologyEnumerator::computeValidPatterns(const std::vector &reduced computeValidPatterns(numberOfNodesPerSlot, numberOfEdges, perEdgeResultPath, - patternGeometryAllEdges.getVertices(), + patternGeometryAllEdges.computeVertices(), intersectingEdges, validEdges, interfaceNodes); @@ -213,7 +213,7 @@ void TopologyEnumerator::computeValidPatterns(const std::vector &reduced computeValidPatterns(numberOfNodesPerSlot, numberOfDesiredEdges, perEdgeResultPath, - patternGeometryAllEdges.getVertices(), + patternGeometryAllEdges.computeVertices(), intersectingEdges, validEdges, interfaceNodes);