Classes | Functions
VoronoiMesh.hpp File Reference

Voronoi tessellation with MPI option. More...

#include "Delaunay.hpp"
#include <list>
#include "tessellation.hpp"
#include "../misc/utils.hpp"
#include "../newtonian/two_dimensional/RefineStrategy.hpp"
#include "../newtonian/two_dimensional/geometric_outer_boundaries/SquareBox.hpp"
#include "voronoi_logger.hpp"
#include "ConvexHull.hpp"
#include "../misc/int2str.hpp"
#include <mpi.h>
Include dependency graph for VoronoiMesh.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  VoronoiMesh
 Voronoi tessellation class. More...
 

Functions

bool PointInCell (vector< Vector2D > const &cpoints, Vector2D const &vec)
 Checks if a point is inside a Voronoi cell. More...
 
bool PointInCell (std::vector< std::pair< Vector2D, Vector2D > > const &cpoints, Vector2D const &vec)
 Checks if a point is inside a Voronoi cell. More...
 

Detailed Description

Voronoi tessellation with MPI option.

Author
Elad Steinberg

Definition in file VoronoiMesh.hpp.

Function Documentation

◆ PointInCell() [1/2]

bool PointInCell ( vector< Vector2D > const &  cpoints,
Vector2D const &  vec 
)

Checks if a point is inside a Voronoi cell.

Parameters
cpointsThe points of the cell in convex order
vecThe point to check
Returns
True if the point is inside the cell, false otherwise

Definition at line 1214 of file VoronoiMesh.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ PointInCell() [2/2]

bool PointInCell ( std::vector< std::pair< Vector2D, Vector2D > > const &  cpoints,
Vector2D const &  vec 
)

Checks if a point is inside a Voronoi cell.

Parameters
cpointsThe points of the cell in convex order, ordered by edges
vecThe point to check
Returns
True if the point is inside the cell, false otherwise

Definition at line 1234 of file VoronoiMesh.cpp.

Here is the call graph for this function: