||
1. Build a matrix:
X=[]
2. Calculate the vertices of the Voronoi cell:
[V,C]=voronoin(X)
3. Extract the vertices of the bouded cell:
x=V(C{N},:), N denotes the number of the cell in the cell array.
非晶的最近邻原子排列,中间黑色边框构成的就是Voronoi Cell
Archiver|手机版|科学网 ( 京ICP备07017567号-12 )
GMT+8, 2024-12-27 20:31
Powered by ScienceNet.cn
Copyright © 2007- 中国科学报社