6 #ifndef FIND_AFFECTED_CELLS_HPP 7 #define FIND_AFFECTED_CELLS_HPP 37 vector<int> & res, std::vector<Vector2D> &added,
bool periodic,
Vector2D const& ll,
Vector2D const& ur);
51 Circle& circle, vector<int> &vtemp,
bool periodic,std::vector<Vector2D> &periodic_add);
53 #endif // FIND_AFFECTED_CELLS Abstract class for tessellation.
Abstract class for the tessellation.
Interface between two cells.
vector< int > find_affected_cells(const Tessellation &tess, int index, Circle &circle, vector< int > &vtemp, bool periodic, std::vector< Vector2D > &periodic_add)
Non recursive version of find affected cells. Only searches one degree of separation.
void find_affected_cells_recursive(const Tessellation &tess, int index, const Circle &circle, vector< int > &res, std::vector< Vector2D > &added, bool periodic, Vector2D const &ll, Vector2D const &ur)
Recursively finds all cells that intersect a circle.
bool edge_circle_intersect(const Edge &edge, const Circle &circle)
Determines if an edge and a circle intersect.