dhart.raytracer.RayResultList

class dhart.raytracer.RayResultList(vector_ptr: c_void_p, data_ptr: c_void_p, node_count: int, ray_count: int)

A list of results from a set of ray queries. Includes distance/meshid

__init__(vector_ptr: c_void_p, data_ptr: c_void_p, node_count: int, ray_count: int)

Create a new view analysis result from view analysis in C++

Parameters:
  • vector_ptr – a pointer to a vector of floats

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

  • node_count – The number of nodes for this result set

  • ray_count – the number of rays cast per node in this result set

Methods

GetPointers()

Return the underlying vector and data pointers.

delete_fp()