主题:请教合并数据点坐标问题
1, -67.491997, -88, 0
2, -67.491997, -88, 1.5
3, -69.172997, -88, 3.8
6, -70.819, -132, 0
7, -70.819, -132, 1.5
8, -69.954002, -176, 0.377
10, -72.117996, -132, 3.8
11, -25.166559, -175.699997, 19.081392
12, -61.401001, -33, 3.8
13, -31.006001, -121, 34.115002
14, -66.811996, 88, 0
15, 67.491997, -88, 0
16, -66.811996, 88, 1.5
17, -56.536999, -77, 32.513
18, -30.978001, -99, 34.744999
19, -56.833, -121, 34.290001
20, -82.8434908, -22, 24.10877
21, -85.554001, -77, 26.818001
22, -82.3631746, -22, 24.252422
23, -30.923, -143, 33.387001
24, -30.856001, -77, 35.266998
25, -45.482635, -175.699997, 10.64
26, -25.166559, -176.300003, 19.081392
27, -30.423, -187, 31.677999
28, -63.326, -55, 3.8
。。。。。。。。。。。。。。。。
像这样100万组数据,怎么样编写个程序,使得两个点之间的距离小于0.3,赋值成相同的点,各位大侠能帮忙写写么,刚开始学,但是继续结果,谢谢各位
2, -67.491997, -88, 1.5
3, -69.172997, -88, 3.8
6, -70.819, -132, 0
7, -70.819, -132, 1.5
8, -69.954002, -176, 0.377
10, -72.117996, -132, 3.8
11, -25.166559, -175.699997, 19.081392
12, -61.401001, -33, 3.8
13, -31.006001, -121, 34.115002
14, -66.811996, 88, 0
15, 67.491997, -88, 0
16, -66.811996, 88, 1.5
17, -56.536999, -77, 32.513
18, -30.978001, -99, 34.744999
19, -56.833, -121, 34.290001
20, -82.8434908, -22, 24.10877
21, -85.554001, -77, 26.818001
22, -82.3631746, -22, 24.252422
23, -30.923, -143, 33.387001
24, -30.856001, -77, 35.266998
25, -45.482635, -175.699997, 10.64
26, -25.166559, -176.300003, 19.081392
27, -30.423, -187, 31.677999
28, -63.326, -55, 3.8
。。。。。。。。。。。。。。。。
像这样100万组数据,怎么样编写个程序,使得两个点之间的距离小于0.3,赋值成相同的点,各位大侠能帮忙写写么,刚开始学,但是继续结果,谢谢各位