16 .structure_type(StructureType::Field)
17 .
description(
"The number of faces that use each edge as one of their sides");
33 return mesh.attributes().adapt_domain<
int>(
39 static constexpr int8_t id = 0;
45 return AttrDomain::Edge;
59 ntype.
ui_name =
"Edge Neighbors";
60 ntype.
ui_description =
"Retrieve the number of faces that use each edge as one of their sides";
#define GEO_NODE_INPUT_MESH_EDGE_NEIGHBORS
#define NOD_REGISTER_NODE(REGISTER_FUNC)
static VArray from_container(ContainerT container)
static Field from_input(Args &&...args)
void set_output(const UString identifier, T &&value)
void count_indices(Span< int > indices, MutableSpan< int > counts)
void node_register_type(bNodeType &ntype)
void geo_node_type_base(bke::bNodeType *ntype, UString idname, const std::optional< int16_t > legacy_type)
std::string ui_description
NodeGeometryExecFunction geometry_node_execute
const char * enum_name_legacy
NodeDeclareFunction declare