RINGMesh  Version 5.0.0
A programming library for geological model meshes
RINGMesh::LineAABBTree< DIMENSION >::DistanceToEdge Class Reference

Public Member Functions

 DistanceToEdge (const LineMesh< DIMENSION > &mesh)
 
std::tuple< double, vecn< DIMENSION > > operator() (const vecn< DIMENSION > &query, index_t cur_box) const
 

Private Attributes

const LineMesh< DIMENSION > & mesh_
 

Detailed Description

template<index_t DIMENSION>
class RINGMesh::LineAABBTree< DIMENSION >::DistanceToEdge

This class is used as functor in closest_element_box() to compute the distance between a point and an edge

Definition at line 302 of file aabb.h.

Constructor & Destructor Documentation

◆ DistanceToEdge()

template<index_t DIMENSION>
RINGMesh::LineAABBTree< DIMENSION >::DistanceToEdge::DistanceToEdge ( const LineMesh< DIMENSION > &  mesh)
inlineexplicit

Definition at line 305 of file aabb.h.

Member Function Documentation

◆ operator()()

template<index_t DIMENSION>
std::tuple< double, vecn< DIMENSION > > RINGMesh::LineAABBTree< DIMENSION >::DistanceToEdge::operator() ( const vecn< DIMENSION > &  query,
index_t  cur_box 
) const

Definition at line 352 of file aabb.cpp.

Member Data Documentation

◆ mesh_

template<index_t DIMENSION>
const LineMesh< DIMENSION >& RINGMesh::LineAABBTree< DIMENSION >::DistanceToEdge::mesh_
private

Definition at line 314 of file aabb.h.


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