Ponca  7abd0fd82719106ad460aa0f2070dffbe375d727
Point Cloud Analysis library
Loading...
Searching...
No Matches
Ponca::internal::TriangleGenerator< AvgHexagramGeneration, P > Struct Template Reference

More...

#include <cnc.hpp>

+ Inheritance diagram for Ponca::internal::TriangleGenerator< AvgHexagramGeneration, P >:
+ Collaboration diagram for Ponca::internal::TriangleGenerator< AvgHexagramGeneration, P >:

Public Types

using VectorType = typename P::VectorType
 
using Scalar = typename P::Scalar
 

Static Public Member Functions

template<typename IndexRange , typename PointIterator , typename NeighborFilter >
static FIT_RESULT generate (const IndexRange &ids, const PointIterator &begin, const PointIterator &end, const NeighborFilter &w, std::vector< Triangle< P > > &triangles)
 
template<typename IndexRange , typename PointContainer , typename NeighborFilter >
static FIT_RESULT generate (const IndexRange &ids, const PointContainer &points, const NeighborFilter &w, std::vector< Triangle< P > > &triangles)
 

Additional Inherited Members

- Protected Types inherited from Ponca::internal::HexagramBase< P >
using Scalar = typename P::Scalar
 
- Static Protected Attributes inherited from Ponca::internal::HexagramBase< P >
static constexpr Scalar avg_normal_coef {Scalar(0.5)}
 

Detailed Description

template<typename P>
struct Ponca::internal::TriangleGenerator< AvgHexagramGeneration, P >

Generates the triangles using AvgHexagramGeneration

Definition at line 282 of file cnc.hpp.

Member Typedef Documentation

◆ Scalar

template<typename P >
using Ponca::internal::TriangleGenerator< AvgHexagramGeneration, P >::Scalar = typename P::Scalar

Definition at line 285 of file cnc.hpp.

◆ VectorType

template<typename P >
using Ponca::internal::TriangleGenerator< AvgHexagramGeneration, P >::VectorType = typename P::VectorType

Definition at line 284 of file cnc.hpp.

Member Function Documentation

◆ generate() [1/2]

template<typename P >
template<typename IndexRange , typename PointContainer , typename NeighborFilter >
static FIT_RESULT Ponca::internal::TriangleGenerator< AvgHexagramGeneration, P >::generate ( const IndexRange &  ids,
const PointContainer &  points,
const NeighborFilter &  w,
std::vector< Triangle< P > > &  triangles 
)
inlinestatic

Definition at line 387 of file cnc.hpp.

◆ generate() [2/2]

template<typename P >
template<typename IndexRange , typename PointIterator , typename NeighborFilter >
static FIT_RESULT Ponca::internal::TriangleGenerator< AvgHexagramGeneration, P >::generate ( const IndexRange &  ids,
const PointIterator &  begin,
const PointIterator &  end,
const NeighborFilter &  w,
std::vector< Triangle< P > > &  triangles 
)
inlinestatic

Definition at line 287 of file cnc.hpp.