From 92d56d3b0ae43eee12c0f19037f33ca04a55778e Mon Sep 17 00:00:00 2001 From: Yi Zhang Date: Thu, 16 Jan 2025 20:08:46 +0800 Subject: [PATCH] tmp --- src/stt_in_triangle_topo.cc | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/src/stt_in_triangle_topo.cc b/src/stt_in_triangle_topo.cc index 091a63b..9ae70ef 100644 --- a/src/stt_in_triangle_topo.cc +++ b/src/stt_in_triangle_topo.cc @@ -29,19 +29,5 @@ int SttGenerator::InTriangleTopo(QuadTreeNode* node, const ControlTopo& in_topo, if (data_std(in_topo.topo) >= diff_threshold) return 1; else return 0; -/* - for (int i = 0; i < in_topo.vert.size(); i++){ - // 1. 允许的最大深度大于当前节点的深度 - // 2. 允许的最小分辨率小于当前节点的分辨率 - if (in_topo.max_depth >= node_depth && node_resolution >= in_topo.minimal_resolution){ - // 统计符合条件的地形的最大值与最小值 - if (in_topo.topo[i] > max_topo) max_topo = in_topo.topo[i]; - if (in_topo.topo[i] < max_topo) min_topo = in_topo.topo[i]; - } - } - - if (std::abs(max_topo - min_topo) >= diff_threshold) return 1; - return 0; -*/ } } \ No newline at end of file