| 
    DGtal 1.4.0
    
   | 
 
#include <DGtal/geometry/helpers/PlaneProbingEstimatorHelper.h>
Public Types | |
| using | Permutation = std::array<int, 3> | 
Public Member Functions | |
| PointOnProbingRay ()=default | |
| PointOnProbingRay (Permutation const &aSigma, Integer const &aIndex=Integer(0)) | |
| PointOnProbingRay | getBase () const | 
| Permutation const & | sigma () const | 
| int | sigma (int aIndex) const | 
| Integer const & | index () const | 
| bool | operator== (PointOnProbingRay const &aRay) const | 
| bool | operator!= (PointOnProbingRay const &aRay) const | 
| bool | operator<= (PointOnProbingRay const &aRay) const | 
| PointOnProbingRay | next (Integer const &aInc) const | 
| PointOnProbingRay | previous (Integer const &aDec) const | 
Private Member Functions | |
| BOOST_CONCEPT_ASSERT ((concepts::CInteger< Integer >)) | |
Private Attributes | |
| Permutation | mySigma | 
| Integer | myIndex | 
Description of template class 'PointOnProbingRay'
A ray consists of a permutation \( \sigma \) and an integer index \( \lambda \) (position on the ray). For a triplet of vectors \( (m_k)_{0 \leq k \leq 2} \) and a point \( q \), a point on the ray is defined as: \( q - m_{\sigma(0)} + m_{\sigma(1)} + \lambda m_{\sigma(2)} \). \( q - m_{\sigma(0)} + m_{\sigma(1)} \) is called the base point.
This class is used to represent points on rays for a plane-probing estimator, so in practice the point \( q \) is the fixed point and the three vectors \( (m_k)_{0 \leq k \leq 2} \) are the vectors defining the current probing frame.
| Integer | the integer type, model of concepts::CInteger. | 
Definition at line 107 of file PlaneProbingEstimatorHelper.h.
| using DGtal::detail::PointOnProbingRay< Integer >::Permutation = std::array<int, 3> | 
Definition at line 113 of file PlaneProbingEstimatorHelper.h.
      
  | 
  default | 
Default constructor.
| DGtal::detail::PointOnProbingRay< Integer >::PointOnProbingRay | ( | Permutation const & | aSigma, | 
| Integer const & | aIndex = Integer(0) ) | 
Constructs a ray with a permutation and an index.
| aSigma | a permutation. | 
| aIndex | an index. | 
      
  | 
  private | 
| PointOnProbingRay DGtal::detail::PointOnProbingRay< Integer >::getBase | ( | ) | const | 
| Integer const & DGtal::detail::PointOnProbingRay< Integer >::index | ( | ) | const | 
| PointOnProbingRay DGtal::detail::PointOnProbingRay< Integer >::next | ( | Integer const & | aInc | ) | const | 
| aInc | an increment. | 
| bool DGtal::detail::PointOnProbingRay< Integer >::operator!= | ( | PointOnProbingRay< Integer > const & | aRay | ) | const | 
Inequality test between two rays.
| aRay | an other ray. | 
| bool DGtal::detail::PointOnProbingRay< Integer >::operator<= | ( | PointOnProbingRay< Integer > const & | aRay | ) | const | 
Comparison operator between two rays: one ray is less than another if they have the same internal permutation and the first one has a smaller index than the second one.
| aRay | an other ray. | 
| bool DGtal::detail::PointOnProbingRay< Integer >::operator== | ( | PointOnProbingRay< Integer > const & | aRay | ) | const | 
Equality test between two rays: the internal permutations and indices must be the same.
| aRay | an other ray. | 
| PointOnProbingRay DGtal::detail::PointOnProbingRay< Integer >::previous | ( | Integer const & | aDec | ) | const | 
| aDec | a decrement. | 
| Permutation const & DGtal::detail::PointOnProbingRay< Integer >::sigma | ( | ) | const | 
| int DGtal::detail::PointOnProbingRay< Integer >::sigma | ( | int | aIndex | ) | const | 
| aIndex | an index between 0 and 2. | 
      
  | 
  private | 
The index.
Definition at line 192 of file PlaneProbingEstimatorHelper.h.
      
  | 
  private | 
The permutation.
Definition at line 191 of file PlaneProbingEstimatorHelper.h.