Wolfram: Mesh Region

By Xah Lee. Date: . Last updated: .

Mesh

Mesh is a efficient data structure that represent a 2D surface by triangles. e.g. 3D wireframe models. In general, it represent manifold by simplexes.

Example: Sphere represent a sphere of a given center and radius, but often you want to represent it as mesh of triangles, so that you can apply a function to points on the surface.

Example: a line is given by 2 end points. But you want to apply a transformation function to points on the line to deform it.

Convert Graphics to Mesh (Discretize Graphics)

Convert Mesh Object to Graphics Primitives

use MeshPrimitives to turn a mesh to list of Graphics Primitives.

WolframLang, Graphics Programing