#include <index-map.h>
Collaboration diagram for xmjr_indexmap2D:

Public Types | |
| typedef int_index_type | index_type |
Public Methods | |
| xmjr_indexmap2D (const index_type &UR=index_type(0, 0)) | |
| xmjr_indexmap2D (int urx, int ury) | |
| xmjr_indexmap2D (const index_type &LL, const index_type &UR, int off=0) | |
| void | init () |
| int | x0 () const |
| int | xmax () const |
| int | y0 () const |
| int | ymax () const |
| int | n0 () const |
| int | nmax () const |
| const index_type & | ll () const |
| int | llx () const |
| int | lly () const |
| const index_type & | ur () const |
| int | urx () const |
| int | ury () const |
| bool | IsInRange (int x, int y) const |
| bool | IsInRange (const index_type &i) const |
| bool | IsInRange (int i) const |
| int | number (int x, int y) const |
| int | number (const index_type &idx) const |
| int | offset (int x, int y) const |
| int | offset (const index_type ij) const |
| index_type | index (int i) const |
| int | range_size () const |
This class implements a bijective map between the subset [n0,n0+size-1] of Z and the subset [llx,urx]x[lly,ury] of Z^2 via the x-major-scheme (y varies fastest) :
Definition at line 33 of file index-map.h.
|
|
Definition at line 35 of file index-map.h. Referenced by index. |
|
|
Definition at line 49 of file index-map.h. References init. |
|
||||||||||||
|
Definition at line 51 of file index-map.h. |
|
||||||||||||||||
|
Definition at line 54 of file index-map.h. References init. |
|
|
Definition at line 57 of file index-map.h. References int_index_type::x, and int_index_type::y. Referenced by xmjr_indexmap2D. |
|
|
Definition at line 63 of file index-map.h. References int_index_type::x. |
|
|
Definition at line 64 of file index-map.h. References int_index_type::x. |
|
|
Definition at line 65 of file index-map.h. References int_index_type::y. |
|
|
Definition at line 66 of file index-map.h. References int_index_type::y. |
|
|
Definition at line 67 of file index-map.h. |
|
|
Definition at line 68 of file index-map.h. References n0, and range_size. |
|
|
Definition at line 70 of file index-map.h. |
|
|
Definition at line 71 of file index-map.h. References int_index_type::x. |
|
|
Definition at line 72 of file index-map.h. References int_index_type::y. |
|
|
Definition at line 73 of file index-map.h. |
|
|
Definition at line 74 of file index-map.h. References int_index_type::x. Referenced by xmjr_indexmap2D. |
|
|
Definition at line 75 of file index-map.h. References int_index_type::y. Referenced by xmjr_indexmap2D. |
|
||||||||||||
|
Definition at line 78 of file index-map.h. References int_index_type::x, and int_index_type::y. |
|
|
Definition at line 81 of file index-map.h. References IsInRange, int_index_type::x, and int_index_type::y. |
|
|
Definition at line 84 of file index-map.h. References n0, and range_size. |
|
||||||||||||
|
Definition at line 88 of file index-map.h. References IsInRange, n0, range, int_index_type::x, x0, int_index_type::y, and y0. |
|
|
Definition at line 94 of file index-map.h. References number, int_index_type::x, and int_index_type::y. |
|
||||||||||||
|
Definition at line 95 of file index-map.h. |
|
|
Definition at line 96 of file index-map.h. |
|
|
Definition at line 98 of file index-map.h. References index_type, IsInRange, n0, range, range_size, x0, and y0. |
|
|
Definition at line 107 of file index-map.h. |
1.2.11-20011104 written by Dimitri van Heesch,
© 1997-2000