Learn R Programming

⚠️There's a newer version (0.5.1) of this package.Take me there.

geometry (version 0.3-1)

Mesh generation and surface tesselation

Description

This package makes the qhull library (www.qhull.org) available in R, in a similar manner as in Octave and MATLAB. Qhull computes convex hulls, Delaunay triangulations, halfspace intersections about a point, Voronoi diagrams, furthest-site Delaunay triangulations, and furthest-site Voronoi diagrams. It runs in 2-d, 3-d, 4-d, and higher dimensions. It implements the Quickhull algorithm for computing the convex hull. Qhull does not support constrained Delaunay triangulations, or mesh generation of non-convex objects, but the package does include some R functions that allow for this. Currently the package only gives access to Delaunay triangulation and convex hull computation.

Copy Link

Version

Install

install.packages('geometry')

Monthly Downloads

20,444

Version

0.3-1

License

GPL (>= 2) + file LICENSE

Maintainer

David Sterratt

Last Published

May 1st, 2012

Functions in geometry (0.3-1)

tetramesh

Render tetrahedron mesh (3D)
distmeshnd

A simple mesh generator for non-convex regions in n-D space
dot

Compute the dot product of two vectors
matmax

Row-wise matrix functions
surf.tri

Find surface triangles from tetrahedra mesh
extprod3d

Compute external- or `cross'- product of 3D vectors.
polyarea

Determines area of a polygon by triangle method.
mesh.dsphere

Sphere distance function
mesh.dcircle

Circle distance function
tsearch

Search for the enclosing Delaunay convex hull
Unique

Extract Unique Rows
distmesh2d

A simple mesh generator for non-convex regions
mesh.diff

Difference, union and intesection operation on two regions
convhulln

Compute smallest convex hull that encloses a set of points
mesh.hunif

Uniform desired edge length
trimesh

Display triangles mesh (2D)
delaunayn

Delaunay triangulation in N-dimensions
entry.value

Retrieve or set a list of array element values
bary2cart

Conversion of Barycentric to Cartesian coordinates
tsearchn

Search for the enclosing Delaunay convex hull
cart2bary

Conversion of Cartesian to Barycentric coordinates.
mesh.drectangle

Rectangle distance function