结果图: 附加源码: PRO testVoronoi idx = 0 ; 创建离散点 CASE idx OF ; 随机离散点 0: BEGIN N = 36 X = RANDOMN(seed, N) Y = RANDOMN(seed, N) END ; 规则离散点 1: BEGIN X = REBIN(INDGEN(6)+10, 36,1) Y = REFORM(REBIN(INDGEN(6)+10, 6,6),36,1) N = N_ELEMENTS(X) END ; 较规则离散点 2: BE…