triangulation
三角剖分 polyshape
说明
T = triangulation(
返回 polyin
)polyshape
对象的二维 triangulation
对象。T
的属性描述构成 polyin
的三角形的顶点和连接情况。有关详细信息,请参阅 triangulation
。
示例
多边形三角剖分
创建一个多边形并进行三角剖分。
t = 0.05:0.5:2*pi; x1 = cos(t); y1 = sin(t); x2 = 0.5*cos(t); y2 = 0.5*sin(t); polyin = polyshape({x1,x2},{y1,y2})
polyin = polyshape with properties: Vertices: [27x2 double] NumRegions: 1 NumHoles: 1
plot(polyin)
T = triangulation(polyin)
T = triangulation with properties: Points: [26x2 double] ConnectivityList: [26x3 double]
triplot(T)
输入参数
polyin
— 输入 polyshape
标量
输入 polyshape
,指定为标量。
数据类型: polyshape
版本历史记录
在 R2017b 中推出
另请参阅
MATLAB 命令
您点击的链接对应于以下 MATLAB 命令:
请在 MATLAB 命令行窗口中直接输入以执行命令。Web 浏览器不支持 MATLAB 命令。
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
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.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)