Go to the source code of this file.
|
#define | N_EDGE_TYPES 3 |
|
#define | EDGE_TYPE_HORIZONTAL 0 |
|
#define | EDGE_TYPE_VERTICAL 1 |
|
#define | EDGE_TYPE_DIAGONAL 2 |
|
#define | N_INCIDENT_EDGES_3D 14 |
|
#define | MAX_OUTDEGREE_3D 6 |
|
#define | VERTEX_ROW_3D(V, NROWS, NCOLS) (((V) % (NROWS * NCOLS)) / NCOLS) |
|
#define | VERTEX_COL_3D(V, NROWS, NCOLS) ((V) % (NCOLS)) |
|
#define | VERTEX_SLICE_3D(V, NROWS, NCOLS) ((V) / (NROWS * NCOLS)) |
|
#define | VERTEX_ID_3D(S, R, C, NROWS, NCOLS) (((S)*NROWS + (R)) * (NCOLS) + (C)) |
|
#define | EDGE_ROW(E, NCOLS) ((E) / ((NCOLS) * (N_EDGE_TYPES))) |
|
#define | EDGE_COL(E, NCOLS) (((E) / (N_EDGE_TYPES)) % (NCOLS)) |
|
#define | EDGE_WHICH(E) ((E) % (N_EDGE_TYPES)) |
|
#define | EDGE_ID(R, C, W, NCOLS) ((((R) * (NCOLS) + (C)) * (N_EDGE_TYPES)) + (W)) |
|
#define | EDGE_FROM(E, NCOLS) VERTEX_ID(EDGE_ROW(E, NCOLS), EDGE_COL(E, NCOLS), NCOLS) |
|
#define | EDGE_TO(E, NCOLS) |
|
◆ EDGE_COL
#define EDGE_COL |
( |
|
E, |
|
|
|
NCOLS |
|
) |
| (((E) / (N_EDGE_TYPES)) % (NCOLS)) |
◆ EDGE_FROM
◆ EDGE_ID
#define EDGE_ID |
( |
|
R, |
|
|
|
C, |
|
|
|
W, |
|
|
|
NCOLS |
|
) |
| ((((R) * (NCOLS) + (C)) * (N_EDGE_TYPES)) + (W)) |
◆ EDGE_ROW
#define EDGE_ROW |
( |
|
E, |
|
|
|
NCOLS |
|
) |
| ((E) / ((NCOLS) * (N_EDGE_TYPES))) |
◆ EDGE_TO
#define EDGE_TO |
( |
|
E, |
|
|
|
NCOLS |
|
) |
| |
◆ EDGE_TYPE_DIAGONAL
#define EDGE_TYPE_DIAGONAL 2 |
◆ EDGE_TYPE_HORIZONTAL
#define EDGE_TYPE_HORIZONTAL 0 |
◆ EDGE_TYPE_VERTICAL
#define EDGE_TYPE_VERTICAL 1 |
◆ EDGE_WHICH
◆ MAX_OUTDEGREE_3D
#define MAX_OUTDEGREE_3D 6 |
◆ N_EDGE_TYPES
◆ N_INCIDENT_EDGES_3D
#define N_INCIDENT_EDGES_3D 14 |
◆ VERTEX_COL_3D
#define VERTEX_COL_3D |
( |
|
V, |
|
|
|
NROWS, |
|
|
|
NCOLS |
|
) |
| ((V) % (NCOLS)) |
◆ VERTEX_ID_3D
#define VERTEX_ID_3D |
( |
|
S, |
|
|
|
R, |
|
|
|
C, |
|
|
|
NROWS, |
|
|
|
NCOLS |
|
) |
| (((S)*NROWS + (R)) * (NCOLS) + (C)) |
◆ VERTEX_ROW_3D
#define VERTEX_ROW_3D |
( |
|
V, |
|
|
|
NROWS, |
|
|
|
NCOLS |
|
) |
| (((V) % (NROWS * NCOLS)) / NCOLS) |
◆ VERTEX_SLICE_3D
#define VERTEX_SLICE_3D |
( |
|
V, |
|
|
|
NROWS, |
|
|
|
NCOLS |
|
) |
| ((V) / (NROWS * NCOLS)) |
#define VERTEX_ID(R, C, NCOLS)
Definition: Mesh2D_DEM_Triangulation_Macros.h:85