HEX_GRID_TRIANGULATE
Select Hex Grid Points in a Region


HEX_GRID_TRIANGULATE is a FORTRAN90 program which picks out those points on a hex grid which lie inside a given triangulation region.

We assume we have the following information available:

Using this information, the program constructs a hexagonal grid of points inside the box, discards all the grid points that don't actually lie inside the region, and writes the remaining points to a file.

Licensing:

The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.

Languages:

HEX_GRID_TRIANGULATE is available in a FORTRAN90 version.

Related Data and Programs:

HEX_GRID, a FORTRAN90 library which is used to define the underlying hex grids.

HEX_GRID, a dataset directory which contains more examples of hexagonal grids.

HEX_GRID_ANGLE, a FORTRAN90 library which computes elements of an angled hexagonal grid dataset.

TEST_TRIANGULATION, a FORTRAN90 library which contains routines which define the regions to be triangulated.

TRIANGLE_GRID, a FORTRAN90 library which computes a triangular grid of points.

Source Code:

Examples and Tests:

Sample hexagonal grid files you may copy include:

There are PNG images of the data available:

List of Routines:

You can go up one level to the FORTRAN90 source codes.


Last revised on 30 August 2005.