Lagrange
Loading...
Searching...
No Matches
PyEdgeAABBTree< Scalar, Index, Dim > Class Template Reference

Thin wrapper to expose EdgeAABBTree to Python. More...

#include </home/runner/work/lagrange-docs/lagrange-docs/lagrange_tmp/modules/bvh/python/src/PyEdgeAABBTree.h>

Public Types

using VertexArray = Eigen::Matrix<Scalar, Eigen::Dynamic, Dim, Eigen::RowMajor>
 
using EdgeArray = Eigen::Matrix<Index, Eigen::Dynamic, 2, Eigen::RowMajor>
 
using Tree = EdgeAABBTree<VertexArray, EdgeArray, Dim>
 

Public Member Functions

 PyEdgeAABBTree (const VertexArray &V, const EdgeArray &E)
 
bool empty () const
 
void get_element_closest_point (const typename Tree::RowVectorType &p, typename Tree::Index element_id, typename Tree::RowVectorType &closest_point, typename Tree::Scalar &closest_sq_dist) const
 
void foreach_element_in_radius (const typename Tree::RowVectorType &p, typename Tree::Scalar sq_dist, typename Tree::ActionCallback func) const
 
void foreach_element_containing (const typename Tree::RowVectorType &p, typename Tree::ActionCallback func) const
 
void get_closest_point (const typename Tree::RowVectorType &p, typename Tree::Index &element_id, typename Tree::RowVectorType &closest_point, typename Tree::Scalar &closest_sq_dist) const
 

Detailed Description

template<typename Scalar, typename Index, int Dim>
class lagrange::bvh::PyEdgeAABBTree< Scalar, Index, Dim >

Thin wrapper to expose EdgeAABBTree to Python.


The documentation for this class was generated from the following file: