Ponca  2cfe00173bb12dda99e12b2b48a0e1f683bc5cdd
Point Cloud Analysis library
Loading...
Searching...
No Matches
Ponca::internal::TriangleGenerator< HexagramGeneration, P > Struct Template Reference

More...

#include <cnc.hpp>

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

Public Types

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

Static Public Member Functions

template<typename IndexRange, typename IteratorBegin, typename IteratorEnd, typename NeighborFilter>
static FIT_RESULT generate (const IndexRange &ids, const IteratorBegin &begin, const IteratorEnd &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< HexagramGeneration, P >

Generates the triangles using HexagramGeneration

Definition at line 175 of file cnc.hpp.

Member Typedef Documentation

◆ Scalar

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

Definition at line 178 of file cnc.hpp.

◆ VectorType

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

Definition at line 177 of file cnc.hpp.

Member Function Documentation

◆ generate() [1/2]

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

Definition at line 181 of file cnc.hpp.

◆ generate() [2/2]

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

Definition at line 270 of file cnc.hpp.