Geometric Computation

Geometric regions such as points, curves, surfaces, volumes, and their higher-dimensional analogs occur in a variety of contexts, including mathematics, engineering, science, computer games, and geography.

The Wolfram Language provides fully integrated capabilities for creating, analyzing, solving over, and visualizing regions. Regions can be created by using common special regions, from formulas, as meshes of simple regions, and by combining or modifying existing regions. Regions can be analyzed by computing standard properties such as dimension, measure (length, area, volume, etc.), nearest points, etc. Regions can be used as constraints to a large number of solvers, including equation solving, optimization, and solving partial differential equations. Regions are first-class citizens in the Wolfram Language; they can be used as input and output and they are deeply integrated into the rest of the Wolfram Language.

ReferenceReference

Properties and Measures »

RegionNearest find the nearest point in a region

RegionMeasure  ▪  RegionCentroid  ▪  RegionDistance  ▪  ...

Solvers over Regions »

Integrate, NIntegrate integrate over regions

NDSolve solve partial differential equations over regions

Solve  ▪  NSolve  ▪  Minimize  ▪  NMinimize  ▪  ...

Special Regions »

Ball a ball given by center and radius

Simplex  ▪  Hexahedron  ▪  InfiniteLine  ▪  ...

Formula Regions

ImplicitRegion a region given by combinations of inequalities and equalities

ParametricRegion a region given by parametric functions

Mesh Regions »

MeshRegion a region specified by a collection of mesh cells

BoundaryMeshRegion a region boundary specified by a collection of mesh cells

HighlightMesh  ▪  MeshCellStyle  ▪  MeshCellLabel  ▪  ...

Data Regions »

DelaunayMesh a Delaunay triangulation mesh constructed from points

VoronoiMesh  ▪  ConvexHullMesh  ▪  ...

Region Converters »

DiscretizeGraphics, BoundaryDiscretizeGraphics discretize 2D or 3D graphics

DiscretizeRegion, BoundaryDiscretizeRegion discretize a region

Derived Regions »

RegionUnion the union of regions

TransformedRegion a region as the image of a transformation

RegionIntersection  ▪  BooleanRegion  ▪  RegionBoundary  ▪  ...