DGtal 2.0.0
Loading...
Searching...
No Matches
TestPlaneProbingTetrahedronEstimator< Integer, mode > Struct Template Reference

Public Types

using Space = SpaceND<3, Integer>
using DigitalPlane = DigitalPlanePredicate<Space>
using Point = typename DigitalPlane::Vector
using Estimator = PlaneProbingTetrahedronEstimator<DigitalPlane, mode>

Static Public Member Functions

template<typename F>
static void compute (Point const &n, F const &f)

Detailed Description

template<typename Integer, ProbingMode mode>
struct TestPlaneProbingTetrahedronEstimator< Integer, mode >

Definition at line 67 of file testPlaneProbingTetrahedronEstimator.cpp.

Member Typedef Documentation

◆ DigitalPlane

◆ Estimator

◆ Point

Definition at line 71 of file testPlaneProbingTetrahedronEstimator.cpp.

◆ Space

Definition at line 69 of file testPlaneProbingTetrahedronEstimator.cpp.

Member Function Documentation

◆ compute()

template<typename Integer, ProbingMode mode>
template<typename F>
void TestPlaneProbingTetrahedronEstimator< Integer, mode >::compute ( Point const & n,
F const & f )
inlinestatic

Definition at line 75 of file testPlaneProbingTetrahedronEstimator.cpp.

76 {
77 Point o(0, 0, 0);
78 std::array<Point, 3> frame = { Point(1, 0, 0), Point(0, 1, 0), Point(0, 0, 1) };
79
80 DigitalPlane plane(n, 0, n.norm1());
82
83 f(estimator);
84 }
PlaneProbingTetrahedronEstimator< DigitalPlane, mode > Estimator

Referenced by TEST_CASE().


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