多边形生成我要分享

Polygon generation

c++ 生成 多边形

关注次数: 229

下载次数: 0

文件大小: 2.91 kB

代码分类: 其他

开发平台: matlab

下载需要积分: 2积分

版权声明:如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

代码描述

中文说明:首先对同种粒径的随机圆进行一次性定位,随机圆的作用是控制三角形基骨料的大小和位置,这里取随机圆的直径为骨料粒径。在每个随机圆上,先生成随机三角形基骨 料。方法是在圆上随机生成3个点组成三角形,通过控制三角形余弦值大于0,使生成的随机三角形为锐角三角形。任意多边形是由三角形基骨料变化而来的,三角形基骨料决定了骨料的粒径尺度和骨料 的基本几何最终构。


English Description:

Firstly, the random circle with the same particle size is located at one time. The function of the random circle is to control the size and position of the triangle base aggregate. Here, the diameter of the random circle is taken as the aggregate particle size. On each random circle, Mr


代码预览