source
newtonian
test_2d
clip_grid.hpp
Go to the documentation of this file.
1
6
#ifndef CLIP_GRID_HPP
7
#define CLIP_GRID_HPP 1
8
9
#include <vector>
10
#include "../../tessellation/geometry.hpp"
11
#include "../../tessellation/shape_2d.hpp"
12
13
using
std::vector;
14
20
vector<Vector2D>
clip_grid
(
const
Shape2D
& shape,
21
const
vector<Vector2D>& original);
22
23
#endif
clip_grid
vector< Vector2D > clip_grid(const Shape2D &shape, const vector< Vector2D > &original)
Removes all the points outside a shape.
Definition:
clip_grid.cpp:4
Shape2D
Abstract type for a two dimensional shape.
Definition:
shape_2d.hpp:12
Generated on Thu Jun 4 2020 18:12:15 by
1.8.13