A function that removes all points outside a shape. More...
#include <vector>
#include "../../tessellation/geometry.hpp"
#include "../../tessellation/shape_2d.hpp"
Go to the source code of this file.
Functions | |
vector< Vector2D > | clip_grid (const Shape2D &shape, const vector< Vector2D > &original) |
Removes all the points outside a shape. More... | |
A function that removes all points outside a shape.
Definition in file clip_grid.hpp.
Removes all the points outside a shape.
shape | A shape |
original | List of points |
Definition at line 4 of file clip_grid.cpp.