Learn R Programming

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

geometry (version 0.3-2)

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-2

License

GPL (>= 2) + file LICENSE

Maintainer

David Sterratt

Last Published

May 12th, 2012

Functions in geometry (0.3-2)

bary2cart

Conversion of Barycentric to Cartesian coordinates
delaunayn

Delaunay triangulation in N-dimensions
Unique

Extract Unique Rows
surf.tri

Find surface triangles from tetrahedra mesh
convhulln

Compute smallest convex hull that encloses a set of points
entry.value

Retrieve or set a list of array element values
matmax

Row-wise matrix functions
distmeshnd

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

Rectangle distance function
mesh.dcircle

Circle distance function
distmesh2d

A simple mesh generator for non-convex regions
extprod3d

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

Sphere distance function
tetramesh

Render tetrahedron mesh (3D)
mesh.diff

Difference, union and intesection operation on two regions
polyarea

Determines area of a polygon by triangle method.
dot

Compute the dot product of two vectors
tsearch

Search for the enclosing Delaunay convex hull
cart2bary

Conversion of Cartesian to Barycentric coordinates.
mesh.hunif

Uniform desired edge length
tsearchn

Search for the enclosing Delaunay convex hull
trimesh

Display triangles mesh (2D)