ComputationalGeometry`
As of Version 10, all the functionality of the ComputationalGeometry package is built into the Wolfram System.
ComputationalGeometry contains a number of functions that are useful for geometry applications. A native implementation of this functionality has been added to the Wolfram System.
A region in the ComputationalGeometry package is specified by a list of points {{x1,y1},{x2,y2},…}. In the Wolfram System, MeshRegion yields a region specified by a collection of mesh cells with coordinates {{x1,y1},{x2,y2},…}. This mesh object displays in a notebook as a plot of the mesh and can be manipulated via functions. See the Geometric Computation guide for an overview of the Wolfram System functionality.
The complete list of ComputationalGeometry functions and the corresponding equivalent functions in the Wolfram System are shown below.
ComputationalGeometry | Built–in Wolfram Language function |
BoundedDiagram[{b1,b2,…},{p1,…}] | VoronoiMesh[{p1,p2,…},{b1,b2,…}] |
ConvexHull[{p1,p2,…}] | ConvexHullMesh[{p1,p2,…}] |
ConvexHullArea[{p1,p2,…}] | Area[reg] |
ConvexHullMedian[{p1,p2,…}] | Mean[MeshCoordinates[reg]] |
DelaunayTriangulation[{p1,p2,…}] | DelaunayMesh[{p1,p2,…}] |
DiagramPlot[{p1,p2,…}] | VoronoiMesh[{p1,p2,…}] |
PlanarGraphPlot[{p1,p2,…}] | DelaunayMesh[{p1,p2,…}] |
Ray[p1,p2] | InfiniteLine[{p1,p2}] |
TileAreas[{p1,p2,…}] | Area[reg] |
TriangularSurfacePlot[{p1,p2,…}] | DelaunayMesh[{p1,p2,…}] |
VoronoiDiagram[{p1,p2,…}] | VoronoiMesh[{p1,p2,…}] |
See the Geometric Computation guide for an overview of the Wolfram System functionality.