In the process of modeling, getting two-way linked list to store control point data of the tree model . Then using the depth-first traversal method to traverse the two-way linked list.
在建模过程中,利用双向链表来存储树模型的控制点数据,然后采用数据结构中深度优先遍历方法,遍历出树模型中每段树枝。
参考来源 - 树随风动的计算机模拟研究·2,447,543篇论文数据,部分数据来源于NoteExpress
Finallg, the author got the conclusion that Width First Traversal method is more effective and convenient.
最后得出结论,用广度优先的遍历方法创建网格是生成三角网格一种相对便利有效率的方法;
The recursive traversal method can be fooled by placing garbage data after a conditional jump instruction and programmatically ensuring that the jump condition always succeeds.
通过在一个有条件跳转指令之后放置无用数据、并且有规划地确保跳转条件总是跳转成功,能够欺骗递归遍历方法。
This method can take another component as its argument, and will then transfer focus to the component that follows in the focus traversal cycle.
该方法可以把另一个组件作为它的参数,然后把焦点传递给焦点遍历循环中紧接着的那个组件。
应用推荐