📄 voronoi.man
字号:
.TH VORONOI 7.SH NAMEvoronoi - compute Voronoi diagram or Delaunay triangulation.SH SYNOPSIS.B voronoi [.B -s -t -p].SH DESCRIPTION.I Voronoi reads the standard input for a set of points in the plane and writes eitherthe Voronoi diagram or the Delaunay triangulation to the standard output.Each input line should consist of two real numbers, separated by white space..PPIf option.B -tis present, the Delaunay triangulation is produced. Each output line is a triple.I i j k,which are the indices of the three points in a Delaunay triangle. Points arenumbered starting at 0..PPIf option.B -tis not present, the Voronoi diagram is produced.There are four output record types..TP.I s a bindicates that an input point at coordinates .I a b was seen..TP.I l a b cindicates a line with equation.I ax + by = c..TP.I v a bindicates a vertex at .I a b..TP.I e l v1 v2indicates a Voronoi segment which is a subsegment of line number .I lwith endpoints numbered .I v1and.I v2.If .I v1or.I v2is -1, the line extends to infinity..PPThe other options are:.TP.B sThe input is sorted by .I ycoordinate (the second number in the pair). The first input line should be.I npoints xmin xmax ymin ymax.This describes the number of points and the range of the points. Thisline is used to determine internal hash table size; it need not be exactbut performance suffers if it is grossly wrong..TP.B pProduce output suitable for input to .I plot (1), rather than the forms described above..PPOn unsorted data uniformly distributed in the unit square,.I voronoiuses about .I 20n+140\(srnbytes of storage. On sorted data,.I voronoiuses about.I 160\(srnbytes..SH AUTHORSteve J. Fortune (1987) A Sweepline Algorithm for Voronoi Diagrams,Algorithmica 2, 153-174..SH DIAGNOSTICSInsufficient memory..SH BUGSThe sort used by .I voronoiis much faster than .I sort (1).Also.I sort(1) does not correctly sort real data with embedded exponent fields.Very strange output results if .B -sis used on unsorted data.Binary input-output would probably halve execution time.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -