homog2d library
Public Member Functions | Public Attributes | List of all members
h2d::priv::runion::Cell Struct Reference

A wrapper around a bool, that gets set if that point defined by indexes ix and iy is a corner in the table. More...

#include <homog2d.hpp>

Public Member Functions

 Cell ()=default
 
template<typename T >
 Cell (const Index< T > &ix, const Index< T > &iy)
 

Public Attributes

bool _isCorner = false
 

Detailed Description

A wrapper around a bool, that gets set if that point defined by indexes ix and iy is a corner in the table.

used in FRect_<FPT>::unionArea()

Constructor & Destructor Documentation

◆ Cell() [1/2]

h2d::priv::runion::Cell::Cell ( )
default

◆ Cell() [2/2]

template<typename T >
h2d::priv::runion::Cell::Cell ( const Index< T > &  ix,
const Index< T > &  iy 
)
inline
7865  {
7866  if( ix._rect_idx == iy._rect_idx )
7867  _isCorner = true;
7868  }
bool _isCorner
Definition: homog2d.hpp:7857

Member Data Documentation

◆ _isCorner

bool h2d::priv::runion::Cell::_isCorner = false

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