ViennaLS
Loading...
Searching...
No Matches
viennals::PointCloud< T, D > Class Template Reference

Class describing a point cloud, which can be used to create geometries from its convex hull mesh. More...

#include <lsGeometries.hpp>

Public Member Functions

 PointCloud ()=default
 
 PointCloud (std::vector< VectorType< T, D > > passedPoints)
 
void insertNextPoint (T *newPoint)
 
void insertNextPoint (const VectorType< T, D > &newPoint)
 
std::pair< typename std::vector< VectorType< T, D > >::iterator, bool > insertNextUniquePoint (VectorType< T, D > newPoint)
 
std::vector< VectorType< T, D > >::iterator begin ()
 
std::vector< VectorType< T, D > >::iterator end ()
 
std::size_t size ()
 
VectorType< T, D > & operator[] (std::size_t i)
 

Public Attributes

std::vector< VectorType< T, D > > points
 

Detailed Description

template<class T, int D>
class viennals::PointCloud< T, D >

Class describing a point cloud, which can be used to create geometries from its convex hull mesh.

Constructor & Destructor Documentation

◆ PointCloud() [1/2]

template<class T, int D>
viennals::PointCloud< T, D >::PointCloud ( )
default

◆ PointCloud() [2/2]

template<class T, int D>
viennals::PointCloud< T, D >::PointCloud ( std::vector< VectorType< T, D > > passedPoints)
inline

Member Function Documentation

◆ begin()

template<class T, int D>
std::vector< VectorType< T, D > >::iterator viennals::PointCloud< T, D >::begin ( )
inline

◆ end()

template<class T, int D>
std::vector< VectorType< T, D > >::iterator viennals::PointCloud< T, D >::end ( )
inline

◆ insertNextPoint() [1/2]

template<class T, int D>
void viennals::PointCloud< T, D >::insertNextPoint ( const VectorType< T, D > & newPoint)
inline

◆ insertNextPoint() [2/2]

template<class T, int D>
void viennals::PointCloud< T, D >::insertNextPoint ( T * newPoint)
inline

◆ insertNextUniquePoint()

template<class T, int D>
std::pair< typename std::vector< VectorType< T, D > >::iterator, bool > viennals::PointCloud< T, D >::insertNextUniquePoint ( VectorType< T, D > newPoint)
inline

◆ operator[]()

template<class T, int D>
VectorType< T, D > & viennals::PointCloud< T, D >::operator[] ( std::size_t i)
inline

◆ size()

template<class T, int D>
std::size_t viennals::PointCloud< T, D >::size ( )
inline

Member Data Documentation

◆ points

template<class T, int D>
std::vector<VectorType<T, D> > viennals::PointCloud< T, D >::points

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