17 .
description(
"The number of faces that use each edge as one of their sides");
23 :
bke::MeshFieldInput(
CPPType::get<int>(),
"Edge Neighbor Count Field")
34 return mesh.attributes().adapt_domain<
int>(
51 return AttrDomain::Edge;
57 Field<int> neighbor_count_field{std::make_shared<EdgeNeighborCountFieldInput>()};
58 params.set_output(
"Face Count", std::move(neighbor_count_field));
66 ntype.
ui_name =
"Edge Neighbors";
67 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)
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