文件名称:src
介绍说明--下载内容来自于网络,使用问题请自行百度
How to use the ordinary Voronoi partition generator. The m-files also have
their own help documentation that you can view in Matlab. This code creates
a bounding polygon that is a square. Then it randomly creates 10 points
and then creates and draws the partition.
bounds = [0, 10, 10, 0 0, 0, 10, 10]
points = 10 * rand(2, 10)
regions = voronoi(bounds, points)
drawRegions(bounds, regions)
================================
This is a brief set of instructions on how to use the Multiplicatively-
weighted Voronoi partition generator.
Each of the m-files has a help section, so in Matlab you can call:
help mwvoronoi
help drawRegions
Here is an example that creates a bounding polygon, a square with side
length 10. Then it randomly creates six points with random weights.
Finally, the code draws the resulting partition.
bounds = [0, 10, 10, 0 0, 0, 10, 10]
points = 10 * rand(3, 6)
regions = mwvoronoi(bounds, points)
drawRegions(bounds, regions)
Enjoy!
-How to use the ordinary Voronoi partition generator. The m-files also have
their own help documentation that you can view in Matlab. This code creates
a bounding polygon that is a square. Then it randomly creates 10 points
and then creates and draws the partition.
bounds = [0, 10, 10, 0 0, 0, 10, 10]
points = 10 * rand(2, 10)
regions = voronoi(bounds, points)
drawRegions(bounds, regions)
================================
This is a brief set of instructions on how to use the Multiplicatively-
weighted Voronoi partition generator.
Each of the m-files has a help section, so in Matlab you can call:
help mwvoronoi
help drawRegions
Here is an example that creates a bounding polygon, a square with side
length 10. Then it randomly creates six points with random weights.
Finally, the code draws the resulting partition.
bounds = [0, 10, 10, 0 0, 0, 10, 10]
points = 10 * rand(3, 6)
regions = mwvoronoi(bounds, points)
drawRegions(bounds, regions)
Enjoy!
their own help documentation that you can view in Matlab. This code creates
a bounding polygon that is a square. Then it randomly creates 10 points
and then creates and draws the partition.
bounds = [0, 10, 10, 0 0, 0, 10, 10]
points = 10 * rand(2, 10)
regions = voronoi(bounds, points)
drawRegions(bounds, regions)
================================
This is a brief set of instructions on how to use the Multiplicatively-
weighted Voronoi partition generator.
Each of the m-files has a help section, so in Matlab you can call:
help mwvoronoi
help drawRegions
Here is an example that creates a bounding polygon, a square with side
length 10. Then it randomly creates six points with random weights.
Finally, the code draws the resulting partition.
bounds = [0, 10, 10, 0 0, 0, 10, 10]
points = 10 * rand(3, 6)
regions = mwvoronoi(bounds, points)
drawRegions(bounds, regions)
Enjoy!
-How to use the ordinary Voronoi partition generator. The m-files also have
their own help documentation that you can view in Matlab. This code creates
a bounding polygon that is a square. Then it randomly creates 10 points
and then creates and draws the partition.
bounds = [0, 10, 10, 0 0, 0, 10, 10]
points = 10 * rand(2, 10)
regions = voronoi(bounds, points)
drawRegions(bounds, regions)
================================
This is a brief set of instructions on how to use the Multiplicatively-
weighted Voronoi partition generator.
Each of the m-files has a help section, so in Matlab you can call:
help mwvoronoi
help drawRegions
Here is an example that creates a bounding polygon, a square with side
length 10. Then it randomly creates six points with random weights.
Finally, the code draws the resulting partition.
bounds = [0, 10, 10, 0 0, 0, 10, 10]
points = 10 * rand(3, 6)
regions = mwvoronoi(bounds, points)
drawRegions(bounds, regions)
Enjoy!
(系统自动生成,下载前可以参看下载内容)
下载文件列表
src/
src/main.cpp
__MACOSX/
__MACOSX/src/
__MACOSX/src/._main.cpp
src/testApp.cpp
src/testApp.h
src/VoronoiDiagramGenerator.cpp
__MACOSX/src/._VoronoiDiagramGenerator.cpp
src/VoronoiDiagramGenerator.h
__MACOSX/._src
src/main.cpp
__MACOSX/
__MACOSX/src/
__MACOSX/src/._main.cpp
src/testApp.cpp
src/testApp.h
src/VoronoiDiagramGenerator.cpp
__MACOSX/src/._VoronoiDiagramGenerator.cpp
src/VoronoiDiagramGenerator.h
__MACOSX/._src
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.