Growbubbles获取质心点并返回不重叠的最大半径圆或球体

收录时间:2020-09-21
资源分类:Matlab 工具:MATLAB 7.13 (R2011b)

Growbubbles获取质心点并返回不重叠的最大半径圆或球体

Growbubbles - maximum radius packing

%GROWBUBBLES packs maximum radius circles at given central locations

%

% PTRADS = GROWBUBBLES(PTS) returns the radius of circles at coordinates in PTS with all radii

% maximised but without any circles overlapping. PTS is a P-by-N matrix of P "N-dimensional"

% points.

%

% If no output argument is given, PTSIN will be plotted as circles (2D) or spheres (3D) to the

% current figure.

%

% Example:

%

% % Find the maximum packed radius of 20 random points

% x = rand(20, 2);

% ptRads = growbubbles(x);

文件下载列表
growbubbles.zip (2.20KB)  
附件内容(只显示2中的1个)
growbubbles.m  
更多

目前尚无评论

用户反馈   关于我们
Copyright (©) ZHIHUISHI.COM 2013 All Rights Reserved.
京ICP备18060134号-3