![]() ![]() The ComputationalGeometry command was introduced in Maple 2018.įor more information on Maple 2018 changes, see Updates in Maple 2018. VoronoiDiagram m, showpoints, symbol = solidcircle, symbolsize = 7 M ≔ LinearAlgebra :- RandomMatrix 40, 2 VoronoiDiagram xy, ' colorregions ' = false, ' showpoints ' = true The default value for duplicates is true. If the duplicates option is set to false, this is not done, and you may get unexpected results if there are duplicate points in the input. If the duplicates option is set to true, then points is tested for duplicate points, and if such duplicate points are found, they are removed. If colorregions is true, then the result of plots is used.īy default, colorregions is set to true. If colorregions is a Palette object from the ColorTools package, then the colors from that palette are used. If colorregions is a list of color specifications as understood by plot commands, then those are used. Otherwise, they are represented by filled polygons such that no two adjacent Voronoi regions have the same color the colors used depend on the value of the option: If the colorregions option is set to false, the Voronoi regions are represented by their outlines. ![]() If the showpoints option is set to true, the input points are also plotted. If it is a list of lists, then each sublist is a point.Īll entries of points must evaluate to floating-point values when evalf is applied. If points is a Matrix, then each row of points is treated as a point. For all pin VR(s), d(p,s) < d(p,t)for all tnot s. The VoronoiDiagram command computes and plots the Voronoi diagram of a set of input points. Definitions Voronoi Diagram of Point sites Set Sof point sites Distance function:d(p,s) Euclidean distance Def:Voronoi Diagram partition of space into regions VR(s)s.t. (optional) standard keyword plot options, as explained on the plot,options help page ![]() (optional) keyword options of the form option=value where option can be showpoints or colorregions or duplicates VoronoiDiagram( points, options, plotopts )Ī list of two element lists or an n by 2 Matrix representing n coordinates Compute Voronoi diagram of a set of points in 2-D ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |