ellipse_grid


ellipse_grid, an Octave 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 computer code and data files described and made available on this web page are 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

ellipse, an Octave code which performs various geometric calculations for ellipses and ellipsoids.

ellipse_monte_carlo an Octave code which uses the Monte Carlo method to estimate the value of integrals over the interior of an ellipse in 2D.

matlab_grid, an Octave code which generates a regular grid of points inside a variety of regions in one, two, three or many dimensions.

Source Code:


Last revised on 02 September 2010.