Definition in file box3d.h.
Go to the source code of this file.
Namespaces | |
| namespace | topology |
Classes | |
| struct | topology::box3d< C > |
| Structure to keep track of the coordinates of the box. More... | |
Functions | |
| template<class C> | |
| bool | operator== (topology::box3d< C > &b0, topology::box3d< C > &b1) |
| template<class C> | |
| std::ostream & | operator<< (std::ostream &os, const topology::box3d< C > &b) |
| template<class C> | |
| void | checkbox3d (topology::box3d< C > box, bool &minRow, bool &minCol, bool &minHgt, C epsRow, C epsCol, C epsHgt) |
| template<class POINTGRAPH, class C> | |
| void | build_box (POINTGRAPH &g, const topology::box3d< C > &bx) |
| void checkbox3d | ( | topology::box3d< C > | box, | |
| bool & | minRow, | |||
| bool & | minCol, | |||
| bool & | minHgt, | |||
| C | epsRow, | |||
| C | epsCol, | |||
| C | epsHgt | |||
| ) |
Function that checks the dimensions of the box from its coordinates, compares it with precisions constant eps_row, eps_col, eps_hgt. The function return booleans are true if the dimensions of the box are less large than their correspondant epsilon.
Definition at line 110 of file box3d.h.
References topology::box3d< C >::x0, topology::box3d< C >::x1, topology::box3d< C >::y0, topology::box3d< C >::y1, topology::box3d< C >::z0, and topology::box3d< C >::z1.
| std::ostream& operator<< | ( | std::ostream & | os, | |
| const topology::box3d< C > & | b | |||
| ) |
Output stream.
Definition at line 91 of file box3d.h.
References topology::box3d< C >::x0, topology::box3d< C >::x1, topology::box3d< C >::y0, topology::box3d< C >::y1, topology::box3d< C >::z0, and topology::box3d< C >::z1.
| bool operator== | ( | topology::box3d< C > & | b0, | |
| topology::box3d< C > & | b1 | |||
| ) |
Egality operator.
Definition at line 79 of file box3d.h.
References topology::box3d< C >::x0, topology::box3d< C >::x1, topology::box3d< C >::y0, topology::box3d< C >::y1, topology::box3d< C >::z0, and topology::box3d< C >::z1.
![]() |