polyout = polybuffer(P,'points',d) 返回一个 polyshape 对象,其边界与 P 中各个二维点形成距离为 d 的缓冲区。polybuffer 函数取圆心为 P 中各点、半径为 d 的圆的并集,以此计算缓冲区。矩阵 P 的第一列包含要缓冲的点的 x 坐标,第二列包含对应的 y 坐标。
polyout = polybuffer(polyin,d) 返回一个带边界的 polyshape 对象,该边界基于输入 polyshape 对象 polyin 以距离 d 创建缓冲区。对于正值 d,polyin 的实心区域边界扩大 d 个单位,孔边界缩小 d 个单位。负值 d 则缩小实心边界,扩大孔边界。
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.