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

Classes

class  HasNeighborFieldInput
 
class  IndexOfNearestFieldInput
 

Functions

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

Function Documentation

◆ build_kdtree()

static KDTree_3d * blender::nodes::node_geo_index_of_nearest_cc::build_kdtree ( const Span< float3 > positions,
const IndexMask & mask )
static

◆ find_nearest_non_self()

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

Definition at line 33 of file node_geo_index_of_nearest.cc.

References tree.

Referenced by find_neighbors().

◆ find_neighbors()

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

◆ node_declare()

static void blender::nodes::node_geo_index_of_nearest_cc::node_declare ( NodeDeclarationBuilder & b)
static

◆ node_geo_exec()

static void blender::nodes::node_geo_index_of_nearest_cc::node_geo_exec ( GeoNodeExecParams params)
static

Definition at line 226 of file node_geo_index_of_nearest.cc.

References params.

Referenced by node_register().

◆ node_register()

static void blender::nodes::node_geo_index_of_nearest_cc::node_register ( )
static