dhart.viewanalysis.ViewAnalysisDirections¶
- class dhart.viewanalysis.ViewAnalysisDirections(vector_ptr: c_void_p, data_ptr: c_void_p, size: int)¶
A list of directions returned from C++
- __init__(vector_ptr: c_void_p, data_ptr: c_void_p, size: int)¶
Create a new numpy like instance
- Parameters:
vector_ptr – A pointer to the C++ vector holding the information
data_ptr – A pointer to the underlying data of the vector. This is what is used for the numpy buffer.
size – The shape of the array. I.E. 100 would be a flat 100 element array, (100, 200) would be a 2dimensional array, etc.
Methods
Return the underlying vector and data pointers.