<>
WireTreeBuilder
根据曲线的包含关系,对曲线进行排序.
◆ AddWire()
void WireTreeBuilder.AddWire |
( |
TopoShape |
wire | ) |
|
◆ Build()
void WireTreeBuilder.Build |
( |
| ) |
|
◆ GetChildCount()
long WireTreeBuilder.GetChildCount |
( |
long |
idx | ) |
|
◆ GetChildItem()
TopoShape WireTreeBuilder.GetChildItem |
( |
long |
idx, |
|
|
long |
childIdx |
|
) |
| |
◆ GetCount()
long WireTreeBuilder.GetCount |
( |
| ) |
|
获取根节点的数量。Build后调用Normalize
- 返回
◆ GetItem()
TopoShape WireTreeBuilder.GetItem |
( |
long |
idx | ) |
|
◆ Initialize()
boolean WireTreeBuilder.Initialize |
( |
TopoShape |
compound | ) |
|
使用一个Wire/Edge组合来初始化
- 参数
-
- 返回
- 是否成功
◆ Normalize()
void WireTreeBuilder.Normalize |
( |
| ) |
|