边的拐角#
The Corners of Edge node retrieves face corners connected to each edge in a mesh. The node first gathers a list of face corners which are connected to the edges. It's important to note that the list only has one corner per face. Using the 面内拐角偏移 to offset the index inside the face by 1 gives the other corner from the face that is connected to the edge. That list is then sorted based on the values of the Sort Weight input. The Total output is the number of connected faces/corners, and the Corner Index output is one of those corners, chosen using the Sort Index input.
红色:选中的边
Blue: corners that get individually returned, depending on the sorting
Purple: corners that can be retrieved by offseting the blue corner indices using 面内拐角偏移
输入#
- 边编号
输入边的编号。
Note
By default this uses the index from the field context, which makes it important that the node is evaluated on the edge domain.
- 权重
Values used to sort the corners connected to the edge. By default the corners are sorted by index, so the corners with the smallest indices come first.
- 编号排序
Which of the sorted corners to use for the Corner Index output. If the value is larger than the total number of connected face corners, it will wrap around to the beginning.
属性#
该节点没有属性。
输出#
- 拐角编号
A corner of the input edge in its face's winding order, chosen by the Sort Index input.
- 总数
连接到边的面或面拐的数量。