Blender V5.3
blender::nodes::node_geo_index_of_nearest_cc Namespace Reference

Classes

class  IndexOfNearestFieldInput
class  HasNeighborFieldInput

Functions

static void node_declare (NodeDeclarationBuilder &b)
static int find_nearest_non_self (const KDTreeNew< float3 > &tree, const float3 &position, const int index)
static void find_neighbors (const KDTreeNew< float3 > &tree, const Span< float3 > positions, const IndexMask &mask, MutableSpan< int > r_indices)
static void find_neighbors (const KDTreeNew< float3 > &tree, const Span< float3 > positions, const Span< int > indices, MutableSpan< int > r_indices)
static void node_geo_exec (GeoNodeExecParams params)
static void node_register ()

Function Documentation

◆ find_nearest_non_self()

int blender::nodes::node_geo_index_of_nearest_cc::find_nearest_non_self ( const KDTreeNew< float3 > & tree,
const float3 & position,
const int index )
static

◆ find_neighbors() [1/2]

void blender::nodes::node_geo_index_of_nearest_cc::find_neighbors ( const KDTreeNew< float3 > & tree,
const Span< float3 > positions,
const IndexMask & mask,
MutableSpan< int > r_indices )
static

◆ find_neighbors() [2/2]

void blender::nodes::node_geo_index_of_nearest_cc::find_neighbors ( const KDTreeNew< float3 > & tree,
const Span< float3 > positions,
const Span< int > indices,
MutableSpan< int > r_indices )
static

◆ node_declare()

◆ node_geo_exec()

◆ node_register()