geometry v0.4.5

0

Monthly downloads

0th

Percentile

Mesh Generation and Surface Tessellation

Makes the 'Qhull' library <http://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 2D, 3D, 4D, 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.

Functions in geometry

Name Description
polyarea Determines area of a polygon by triangle method.
pol2cart Transform polar or cylindrical coordinates to Cartesian coordinates.
mesh.diff Difference, union and intersection operation on two regions
mesh.hunif Uniform desired edge length
mesh.dcircle Circle distance function
mesh.drectangle Rectangle distance function
matmax Row-wise matrix functions
mesh.dsphere Sphere distance function
bary2cart Conversion of Barycentric to Cartesian coordinates
entry.value Retrieve or set a list of array element values
feasible.point Find point in intersection of convex hulls
extprod3d Compute external- or `cross'- product of 3D vectors.
inhulln Test if points lie in convex hull
intersectn Compute convex hull of intersection of two sets of points
surf.tri Find surface triangles from tetrahedral mesh
tetramesh Render tetrahedron mesh (3D)
sph2cart Transform spherical coordinates to Cartesian coordinates
tsearch Search for the enclosing Delaunay convex hull
tsearchn Search for the enclosing Delaunay convex hull
rbox Generate various point distributions
halfspacen Compute halfspace intersection about a point
to.mesh3d Convert convhulln object to RGL mesh
trimesh Display triangles mesh (2D)
cart2sph If called with a single matrix argument then each row of c represents the Cartesian coordinate (x, y, z).
Unique Extract Unique Rows
convhulln Compute smallest convex hull that encloses a set of points
cart2pol Transform Cartesian coordinates to polar or cylindrical coordinates.
delaunayn Delaunay triangulation in N dimensions
dot Compute the dot product of two vectors
distmeshnd A simple mesh generator for non-convex regions in n-D space
cart2bary Conversion of Cartesian to Barycentric coordinates.
distmesh2d A simple mesh generator for non-convex regions
No Results!

Vignettes of geometry

Name
qhull/Announce.txt
qhull/COPYING.txt
qhull/File_id.diz
qhull/README.txt
qhull/REGISTER.txt
qhull/index.html
LICENSE-NOTES
MODIFIED.txt
qhull-eg-002.pdf
qhull-eg-004.pdf
qhull-eg.Rnw
No Results!

Last month downloads

Details

License GPL (>= 3)
URL https://davidcsterratt.github.io/geometry
Date 2019-12-02
BugReports https://github.com/davidcsterratt/geometry/issues
RoxygenNote 6.1.1
LinkingTo Rcpp, RcppProgress
Encoding UTF-8
Language en-GB
NeedsCompilation yes
Packaged 2019-12-03 20:33:39 UTC; dcs
Repository CRAN
Date/Publication 2019-12-04 09:40:02 UTC

Include our badge in your README

[![Rdoc](http://www.rdocumentation.org/badges/version/geometry)](http://www.rdocumentation.org/packages/geometry)