From faf3c770d6ed4ae0e44b1edd3c095e4dcc3d417c Mon Sep 17 00:00:00 2001 From: luoyifan Date: Wed, 11 Jun 2025 17:39:44 +0800 Subject: [PATCH] =?UTF-8?q?WayRenderer=20PanelGeometry=20=E6=9B=BF?= =?UTF-8?q?=E4=BB=A3=20Line?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/example/ExampleUtil.js | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/src/example/ExampleUtil.js b/src/example/ExampleUtil.js index 7c61487..39c814d 100644 --- a/src/example/ExampleUtil.js +++ b/src/example/ExampleUtil.js @@ -68,17 +68,18 @@ export function buildAgvPerformanceData(t, rows, cols) { } } - data.get('wp_0_0').dt.center.push('wp_0_' + (cols - 1)) - data.get('wp_0_' + (cols - 1)).dt.center.push('wp_0_0') - - data.get('wp_' + (rows - 1) + '_0').dt.center.push('wp_' + (rows - 1) + '_' + (cols - 1)) - data.get('wp_' + (rows - 1) + '_' + (cols - 1)).dt.center.push('wp_' + (rows - 1) + '_0') - - data.get('wp_' + (rows - 1) + '_0').dt.center.push('wp_0_0') - data.get('wp_0_0').dt.center.push('wp_' + (rows - 1) + '_0') - - data.get('wp_' + (rows - 1) + '_' + (cols - 1)).dt.center.push('wp_0_' + (cols - 1)) - data.get('wp_0_' + (cols - 1)).dt.center.push('wp_' + (rows - 1) + '_' + (cols - 1)) + // 四个对角连线 + // data.get('wp_0_0').dt.center.push('wp_0_' + (cols - 1)) + // data.get('wp_0_' + (cols - 1)).dt.center.push('wp_0_0') + // + // data.get('wp_' + (rows - 1) + '_0').dt.center.push('wp_' + (rows - 1) + '_' + (cols - 1)) + // data.get('wp_' + (rows - 1) + '_' + (cols - 1)).dt.center.push('wp_' + (rows - 1) + '_0') + // + // data.get('wp_' + (rows - 1) + '_0').dt.center.push('wp_0_0') + // data.get('wp_0_0').dt.center.push('wp_' + (rows - 1) + '_0') + // + // data.get('wp_' + (rows - 1) + '_' + (cols - 1)).dt.center.push('wp_0_' + (cols - 1)) + // data.get('wp_0_' + (cols - 1)).dt.center.push('wp_' + (rows - 1) + '_' + (cols - 1)) return Array.from(data.values()) }