CellGPU
0.8.0
GPU-accelerated simulations of cells
|
a deprecated data structure for specifying a triangulation. More...
#include <structures.h>
Public Member Functions | |
void | getNeighbors (int i, std::vector< int > &neighs) |
searches for vertices that are in triangles with vertex i. Returns a sorted list (according to integer value, NOT CW order!), with no duplicates. | |
Public Attributes | |
int | nTriangles |
The number of triangles. | |
int | nEdges |
the number of edges | |
std::vector< edge > | edges |
a vector of edges | |
std::vector< triangle > | triangles |
a vector of triangles | |
a deprecated data structure for specifying a triangulation.
Contains the information needed to specify a triangulation of vertices. It has vectors of edges and triangles, and getNeighbors will sift through the triangles to look for neighbors of vertex i