CellGPU
0.8.0
GPU-accelerated simulations of cells
|
A legacy structure (for use with non-CGAL implementations of the SPV branch) More...
#include <structures.h>
Public Member Functions | |
void | setSize (int nn) |
base constructor More... | |
void | getCW () |
find CW order of neighbors | |
void | getVoro () |
Find the positions of the voronoi cell around the vertex. | |
void | Calculate () |
Calculate the area and perimeter of the voronoi cell. | |
Public Attributes | |
int | n |
number of delaunay neighbors | |
std::vector< Dscalar2 > | Dneighs |
The relative positions of the Delaunay neighbors. | |
std::vector< std::pair< Dscalar, int > > | CWorder |
A structure to put the neighbors in oriented order. | |
std::vector< Dscalar2 > | Vpoints |
The voronoi vertices. | |
Dscalar | Varea |
The area of the cell. | |
Dscalar | Vperimeter |
The perimeter of the cell. | |
bool | Voro |
have the voronoi points of the cell already been calculated? | |
A legacy structure (for use with non-CGAL implementations of the SPV branch)
Really the Voronoi cell of a Delaunay vertex. Given the relative positions of the vertices Delaunay neighbors, this puts the neighbors in clockwise order and calculates the Voronoi vertices of the Voronoi cell. Also calculates the area and perimeter of the Voronoi cell.
|
inline |
base constructor
Declare how many neighbors the cell has
Referenced by DelaunayLoc::getNeighbors(), and DelaunayLoc::triangulatePoint().