Learn R Programming

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

geometry (version 0.3-6)

Mesh Generation and Surface Tesselation

Description

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

18,987

Version

0.3-6

License

GPL (>= 3) + file LICENSE

Maintainer

David Sterratt

Last Published

September 9th, 2015

Functions in geometry (0.3-6)

Unique

Extract Unique Rows
matmax

Row-wise matrix functions
distmesh2d

A simple mesh generator for non-convex regions
extprod3d

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

Rectangle distance function
mesh.dsphere

Sphere distance function
convhulln

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

Difference, union and intesection operation on two regions
polyarea

Determines area of a polygon by triangle method.
tsearchn

Search for the enclosing Delaunay convex hull
entry.value

Retrieve or set a list of array element values
mesh.hunif

Uniform desired edge length
mesh.dcircle

Circle distance function
tsearch

Search for the enclosing Delaunay convex hull
tetramesh

Render tetrahedron mesh (3D)
dot

Compute the dot product of two vectors
bary2cart

Conversion of Barycentric to Cartesian coordinates
trimesh

Display triangles mesh (2D)
distmeshnd

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

Find surface triangles from tetrahedra mesh
cart2bary

Conversion of Cartesian to Barycentric coordinates.
delaunayn

Delaunay triangulation in N-dimensions