ellipse_grid


ellipse_grid, a C++ code which generates a grid of points over the interior of an ellipse in 2D.

The library allows the user to define an ellipse by choosing its center and the length of its major and minor axes. The user also choose N, the number of subintervals into which the minor radius will be subdivided. It then returns the gridpoints defined by that choice.

Licensing:

The information on this web page is distributed under the MIT license.

Languages:

ellipse_grid is available in a C version and a C++ version and a Fortran90 version and a MATLAB version and an Octave version and a Python version.

Related Data and Programs:

ellipse_grid_test

cpp_grid, a C++ code which generates a regular grid of points inside a variety of regions in one, two, three or many dimensions.

ellipse, a C++ code which performs various geometric calculations for ellipses and ellipsoids.

ellipse_monte_carlo a C++ code which uses the Monte Carlo method to estimate the value of integrals within an ellipse.

Source Code:


Last revised on 25 February 2020.