Нода «Рёбра вершины» (edges of vertex node)

Нода ":abbr:`Рёбра вершины (Edges of Vertex)`".

The Edges of Vertex node retrieves the edges connected to each vertex. Each vertex is connected to several edges. The node first collects a list of those edges, then sorts them based on the Sort Weight input. The Total output is the number of edges in that list, and the Edge Index output is one of those edges chosen with the Sort Index input.

One example use is finding the «most vertical» edge connected to each vertex.

Входы (inputs)

Индекс вершины (vertex index)

The index of the input vertex.

Примечание

By default this uses the index from the field context, which makes it important that the node is evaluated on the vertex domain.

Веса (weights)

Values used to sort the edges connected to the vertex. By default the edges are sorted by index, so the edges with the smallest indices come first.

Индекс сортировки (sort index)

Which of the sorted edges to use for the Edge Index output. If the value is larger than the total number of connected edges, it will wrap around to the beginning.

Свойства

Эта нода не содержит свойств.

Выходы (outputs)

Индекс ребра (edge index)

An edge connected to the face, chosen by the Sort Index input.

По общему количеству (total)

The number of edges connected to the vertex.