DNDSR 0.1.0.dev1+gcd065ad
Distributed Numeric Data Structure for CFV
Loading...
Searching...
No Matches
DNDS::Geom::PointCloudFunctional Struct Reference

#include <PointCloud.hpp>

Public Types

using coord_t = real
 The type of each coordinate.
 
using t_f = std::function< tPoint(size_t)>
 

Public Member Functions

 PointCloudFunctional (const t_f &fun, index size)
 
index size () const
 
tPoint operator[] (index i) const
 
size_t kdtree_get_point_count () const
 
real kdtree_get_pt (const size_t idx, const size_t dim) const
 
template<class BBOX >
bool kdtree_get_bbox (BBOX &) const
 

Public Attributes

t_f _fun
 
index _size
 

Detailed Description

Definition at line 33 of file PointCloud.hpp.

Member Typedef Documentation

◆ coord_t

The type of each coordinate.

Definition at line 35 of file PointCloud.hpp.

◆ t_f

using DNDS::Geom::PointCloudFunctional::t_f = std::function<tPoint(size_t)>

Definition at line 36 of file PointCloud.hpp.

Constructor & Destructor Documentation

◆ PointCloudFunctional()

DNDS::Geom::PointCloudFunctional::PointCloudFunctional ( const t_f fun,
index  size 
)
inline

Definition at line 41 of file PointCloud.hpp.

Member Function Documentation

◆ kdtree_get_bbox()

template<class BBOX >
bool DNDS::Geom::PointCloudFunctional::kdtree_get_bbox ( BBOX &  ) const
inline

Definition at line 62 of file PointCloud.hpp.

◆ kdtree_get_point_count()

size_t DNDS::Geom::PointCloudFunctional::kdtree_get_point_count ( ) const
inline

Definition at line 54 of file PointCloud.hpp.

◆ kdtree_get_pt()

real DNDS::Geom::PointCloudFunctional::kdtree_get_pt ( const size_t  idx,
const size_t  dim 
) const
inline

Definition at line 56 of file PointCloud.hpp.

Here is the call graph for this function:

◆ operator[]()

tPoint DNDS::Geom::PointCloudFunctional::operator[] ( index  i) const
inline

Definition at line 47 of file PointCloud.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ size()

index DNDS::Geom::PointCloudFunctional::size ( ) const
inline

Definition at line 45 of file PointCloud.hpp.

Here is the caller graph for this function:

Member Data Documentation

◆ _fun

t_f DNDS::Geom::PointCloudFunctional::_fun

Definition at line 38 of file PointCloud.hpp.

◆ _size

index DNDS::Geom::PointCloudFunctional::_size

Definition at line 39 of file PointCloud.hpp.


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