dhart.spatialstructures.NodeList

class dhart.spatialstructures.NodeList(vector_ptr: c_void_p, data_ptr: c_void_p)

A list of node structs from C++

__init__(vector_ptr: c_void_p, data_ptr: c_void_p)

Construct a nodelist from a pointer to a vector of nodes and its underlying data

Parameters:
  • vector_ptr – a pointer to a vector of node structs

  • data_ptr – a pointer to the underlying data of that vector

Methods

GetPointers()

Return the underlying vector and data pointers.

delete_fp()

Call the destructor for a list of nodes