18 "The number of vertices connected to this vertex with an edge, "
19 "equal to the number of connected edges");
22 .
description(
"Number of faces that contain the vertex");
36 if (domain != AttrDomain::Point) {
57 return AttrDomain::Point;
72 if (domain != AttrDomain::Point) {
93 return AttrDomain::Point;
99 Field<int> vertex_field{std::make_shared<VertexCountFieldInput>()};
100 Field<int> face_field{std::make_shared<VertexFaceCountFieldInput>()};
102 params.set_output(
"Vertex Count", std::move(vertex_field));
103 params.set_output(
"Face Count", std::move(face_field));
111 ntype.
ui_name =
"Vertex Neighbors";
112 ntype.
ui_description =
"Retrieve topology information relating to each vertex of a mesh";
#define GEO_NODE_INPUT_MESH_VERTEX_NEIGHBORS
#define NOD_REGISTER_NODE(REGISTER_FUNC)
unsigned long long int uint64_t
static VArray from_container(ContainerT container)
void count_indices(Span< int > indices, MutableSpan< int > counts)
void node_register_type(bNodeType &ntype)
void geo_node_type_base(blender::bke::bNodeType *ntype, std::string idname, const std::optional< int16_t > legacy_type)
std::string ui_description
NodeGeometryExecFunction geometry_node_execute
const char * enum_name_legacy
NodeDeclareFunction declare