Learn R Programming

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

geometry (version 0.3-0)

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

License

GPL (>= 2) + file LICENSE

Maintainer

David Sterratt

Last Published

April 18th, 2012

Functions in geometry (0.3-0)

mesh.diff

Difference, union and intesection operation on two regions
matmax

Row-wise matrix functions
surf.tri

Find surface triangles from tetrahedra mesh
mesh.hunif

Uniform desired edge length
bary2cart

Conversion of Barycentric to Cartesian coordinates
entry.value

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

Sphere distance function
tetramesh

Render tetrahedron mesh (3D)
dot

Compute the dot product of two vectors
convhulln

Compute smallest convex hull that encloses a set of points
Unique

Extract Unique Rows
mesh.drectangle

Rectangle distance function
trimesh

Display triangles mesh (2D)
delaunayn

Delaunay triangulation in N-dimensions
mesh.dcircle

Circle distance function
tsearchn

Search for the enclosing Delaunay convex hull
tsearch

Search for the enclosing Delaunay convex hull
polyarea

Determines area of a polygon by triangle method.
distmeshnd

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

Conversion of Cartesian to Barycentric coordinates.
extprod3d

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

A simple mesh generator for non-convex regions