Products
  • Wolfram|One

    The definitive Wolfram Language and notebook experience

  • Mathematica

    The original technical computing environment

  • Notebook Assistant + LLM Kit

    All-in-one AI assistance for your Wolfram experience

  • Compute Services
  • System Modeler
  • Finance Platform
  • Wolfram|Alpha Notebook Edition
  • Application Server
  • Enterprise Private Cloud
  • Wolfram Engine
  • Wolfram Player
  • Wolfram Cloud App
  • Wolfram Player App

More mobile apps

Core Technologies of Wolfram Products

  • Wolfram Language
  • Computable Data
  • Wolfram Notebooks
  • AI & Linguistic Understanding

Deployment Options

  • Wolfram Cloud
  • wolframscript
  • Wolfram Engine Community Edition
  • Wolfram LLM API
  • WSTPServer
  • Wolfram|Alpha APIs

From the Community

  • Function Repository
  • Community Paclet Repository
  • Example Repository
  • Neural Net Repository
  • Prompt Repository
  • Wolfram Demonstrations
  • Data Repository
  • Group & Organizational Licensing
  • All Products
Consulting & Solutions

We deliver solutions for the AI era—combining symbolic computation, data-driven insights and deep technical expertise

  • Data & Computational Intelligence
  • Model-Based Design
  • Algorithm Development
  • Wolfram|Alpha for Business
  • Blockchain Technology
  • Education Technology
  • Quantum Computation

Wolfram Consulting

Wolfram Solutions

  • Data Science
  • Artificial Intelligence
  • Biosciences
  • Healthcare Intelligence
  • Sustainable Energy
  • Control Systems
  • Enterprise Wolfram|Alpha
  • Blockchain Labs

More Wolfram Solutions

Wolfram Solutions For Education

  • Research Universities
  • Colleges & Teaching Universities
  • Junior & Community Colleges
  • High Schools
  • Educational Technology
  • Computer-Based Math

More Solutions for Education

  • Contact Us
Learning & Support

Get Started

  • Wolfram Language Introduction
  • Fast Intro for Programmers
  • Fast Intro for Math Students
  • Wolfram Language Documentation

More Learning

  • Highlighted Core Areas
  • Demonstrations
  • YouTube
  • Daily Study Groups
  • Wolfram Schools and Programs
  • Books

Grow Your Skills

  • Wolfram U

    Courses in computing, science, life and more

  • Community

    Learn, solve problems and share ideas.

  • Blog

    News, views and insights from Wolfram

  • Resources for

    Software Developers

Tech Support

  • Contact Us
  • Support FAQs
  • Support FAQs
  • Contact Us
Company
  • About Wolfram
  • Career Center
  • All Sites & Resources
  • Connect & Follow
  • Contact Us

Work with Us

  • Student Ambassador Initiative
  • Wolfram for Startups
  • Student Opportunities
  • Jobs Using Wolfram Language

Educational Programs for Adults

  • Summer School
  • Winter School

Educational Programs for Youth

  • Middle School Camp
  • High School Research Program
  • Computational Adventures

Read

  • Stephen Wolfram's Writings
  • Wolfram Blog
  • Wolfram Tech | Books
  • Wolfram Media
  • Complex Systems

Educational Resources

  • Wolfram MathWorld
  • Wolfram in STEM/STEAM
  • Wolfram Challenges
  • Wolfram Problem Generator

Wolfram Initiatives

  • Wolfram Science
  • Wolfram Foundation
  • History of Mathematics Project

Events

  • Stephen Wolfram Livestreams
  • Online & In-Person Events
  • Contact Us
  • Connect & Follow
Wolfram|Alpha
  • Your Account
  • User Portal
  • Wolfram Cloud
  • Products
    • Wolfram|One
    • Mathematica
    • Notebook Assistant + LLM Kit
    • Compute Services
    • System Modeler
    • Finance Platform
    • Wolfram|Alpha Notebook Edition
    • Application Server
    • Enterprise Private Cloud
    • Wolfram Engine
    • Wolfram Player
    • Wolfram Cloud App
    • Wolfram Player App

    More mobile apps

    • Core Technologies
      • Wolfram Language
      • Computable Data
      • Wolfram Notebooks
      • AI & Linguistic Understanding
    • Deployment Options
      • Wolfram Cloud
      • wolframscript
      • Wolfram Engine Community Edition
      • Wolfram LLM API
      • WSTPServer
      • Wolfram|Alpha APIs
    • From the Community
      • Function Repository
      • Community Paclet Repository
      • Example Repository
      • Neural Net Repository
      • Prompt Repository
      • Wolfram Demonstrations
      • Data Repository
    • Group & Organizational Licensing
    • All Products
  • Consulting & Solutions

    We deliver solutions for the AI era—combining symbolic computation, data-driven insights and deep technical expertise

    WolframConsulting.com

    Wolfram Solutions

    • Data Science
    • Artificial Intelligence
    • Biosciences
    • Healthcare Intelligence
    • Sustainable Energy
    • Control Systems
    • Enterprise Wolfram|Alpha
    • Blockchain Labs

    More Wolfram Solutions

    Wolfram Solutions For Education

    • Research Universities
    • Colleges & Teaching Universities
    • Junior & Community Colleges
    • High Schools
    • Educational Technology
    • Computer-Based Math

    More Solutions for Education

    • Contact Us
  • Learning & Support

    Get Started

    • Wolfram Language Introduction
    • Fast Intro for Programmers
    • Fast Intro for Math Students
    • Wolfram Language Documentation

    Grow Your Skills

    • Wolfram U

      Courses in computing, science, life and more

    • Community

      Learn, solve problems and share ideas.

    • Blog

      News, views and insights from Wolfram

    • Resources for

      Software Developers
    • Tech Support
      • Contact Us
      • Support FAQs
    • More Learning
      • Highlighted Core Areas
      • Demonstrations
      • YouTube
      • Daily Study Groups
      • Wolfram Schools and Programs
      • Books
    • Support FAQs
    • Contact Us
  • Company
    • About Wolfram
    • Career Center
    • All Sites & Resources
    • Connect & Follow
    • Contact Us

    Work with Us

    • Student Ambassador Initiative
    • Wolfram for Startups
    • Student Opportunities
    • Jobs Using Wolfram Language

    Educational Programs for Adults

    • Summer School
    • Winter School

    Educational Programs for Youth

    • Middle School Camp
    • High School Research Program
    • Computational Adventures

    Read

    • Stephen Wolfram's Writings
    • Wolfram Blog
    • Wolfram Tech | Books
    • Wolfram Media
    • Complex Systems
    • Educational Resources
      • Wolfram MathWorld
      • Wolfram in STEM/STEAM
      • Wolfram Challenges
      • Wolfram Problem Generator
    • Wolfram Initiatives
      • Wolfram Science
      • Wolfram Foundation
      • History of Mathematics Project
    • Events
      • Stephen Wolfram Livestreams
      • Online & In-Person Events
    • Contact Us
    • Connect & Follow
  • Wolfram|Alpha
  • Wolfram Cloud
  • Your Account
  • User Portal
Wolfram Language & System Documentation Center
BoundaryDiscretizeRegion
  • See Also
    • BoundaryMeshRegion
    • BoundaryDiscretizeGraphics
    • MeshRegion
    • DiscretizeRegion
    • FindMeshDefects
    • RepairMesh
    • RegionImage
  • Related Guides
    • Mesh-Based Geometric Regions
    • Geometric Computation
    • See Also
      • BoundaryMeshRegion
      • BoundaryDiscretizeGraphics
      • MeshRegion
      • DiscretizeRegion
      • FindMeshDefects
      • RepairMesh
      • RegionImage
    • Related Guides
      • Mesh-Based Geometric Regions
      • Geometric Computation

BoundaryDiscretizeRegion[reg]

discretizes the region reg into a BoundaryMeshRegion.

BoundaryDiscretizeRegion[reg,{{xmin,xmax},…}]

restricts to the bounds .

Details and Options
Details and Options Details and Options
Examples  
Basic Examples  
Scope  
Regions in 1D  
Regions in 2D  
Regions in 3D  
Detail  
Quality  
Options  
AccuracyGoal  
MaxCellMeasure  
MeshCellHighlight  
Show More Show More
MeshCellLabel  
MeshCellMarker  
MeshCellShapeFunction  
MeshCellStyle  
Method  
PlotTheme  
PrecisionGoal  
Applications  
Properties & Relations  
Neat Examples  
See Also
Related Guides
History
Cite this Page
BUILT-IN SYMBOL
  • See Also
    • BoundaryMeshRegion
    • BoundaryDiscretizeGraphics
    • MeshRegion
    • DiscretizeRegion
    • FindMeshDefects
    • RepairMesh
    • RegionImage
  • Related Guides
    • Mesh-Based Geometric Regions
    • Geometric Computation
    • See Also
      • BoundaryMeshRegion
      • BoundaryDiscretizeGraphics
      • MeshRegion
      • DiscretizeRegion
      • FindMeshDefects
      • RepairMesh
      • RegionImage
    • Related Guides
      • Mesh-Based Geometric Regions
      • Geometric Computation

BoundaryDiscretizeRegion

BoundaryDiscretizeRegion[reg]

discretizes the region reg into a BoundaryMeshRegion.

BoundaryDiscretizeRegion[reg,{{xmin,xmax},…}]

restricts to the bounds .

Details and Options

  • BoundaryDiscretizeRegion is also known as boundary evaluation.
  • BoundaryDiscretizeRegion effectively discretizes the boundaries of the full-dimensional parts of a region reg.
  • The region reg can be anything that is ConstantRegionQ and RegionEmbeddingDimension less or equal to 3.
  • BoundaryDiscretizeRegion has the same options as BoundaryMeshRegion, with the following additions and changes:
  • AccuracyGoal Automaticdigits of accuracy sought
    MaxCellMeasure Automaticmaximum cell measure
    Method Automaticmethod to use
    PerformanceGoal$PerformanceGoalwhether to consider speed or quality
    PrecisionGoal Automaticdigits of precision sought
  • With AccuracyGoal->a and PrecisionGoal->p, an attempt will be made to keep the maximum distance between the region reg or the discretized region dreg and any point in RegionSymmetricDifference[reg,dreg] to less than , where is the length of the diagonal of the bounding box.
  • With MaxCellMeasure->m where m>0, the cell measure in the boundary dimension d-1 where d is the region dimension will be limited to m. Measure limits for specific dimensions may be specified with MaxCellMeasure->{…,di->mi,…}.

Examples

open all close all

Basic Examples  (2)

Get a discretized boundary representation for a disk:

Restrict to the first quadrant:

Get a discretized boundary representation for a ball:

Restrict to the first orthant:

Scope  (24)

Regions in 1D  (5)

Line and Interval are full-dimensional regions in 1D:

An ImplicitRegion is 1D if it has one variable:

The discretization can be clipped to a specified range:

A ParametricRegion is 1D if it has only one function:

The discretization can be clipped to a specified range:

Because this region is unbounded, clip it to discretize:

A BooleanRegion in 1D:

Boundary discretization can only represent full-dimensional region components:

Use DiscretizeRegion to discretize lower-dimensional components as well:

Regions in 2D  (8)

Rectangle, Disk, and Simplex are special regions that can be full dimensional in 2D:

Disk:

Simplex:

An ImplicitRegion is 2D if it has two variables:

For an unbounded region, clip the discretization to a specified range:

A ParametricRegion is in 2D if it has two functions:

Clip the region:

A region in 2D with parameters constrained to a unit disk:

Parameters constrained to a rectangle:

Given two exact regions, ParametricRegion can be used to represent their Minkowski sum:

A RegionUnion in 2D:

A region can include components of different dimensions:

The boundary discretization can only represent full-dimensional components, however:

A polygon with GeoGridPosition:

Regions in 3D  (5)

Cuboid, Ellipsoid, and Simplex are special regions that can be full dimensional in 3D:

Ellipsoid:

Simplex:

An ImplicitRegion is 3D if it has precisely three variables:

Clip a region:

A ParametricRegion is in 3D if it has precisely three functions:

A solid in 3D generated with the parameters constrained to the unit ball:

A region can include components of different dimensions:

The boundary discretization can only represent full-dimensional components, however:

Detail  (2)

The measure of cells in the discretization can be controlled using MaxCellMeasure:

By default, when given as a number, it applies to the boundary dimension:

With area a, a length l is computed so that triangles with sides of length l will have area a:

Using TriangulateMesh with the same specification will maintain quality near the edge:

For nonlinear regions, the measure of boundary cells depends on several options:

The length of any segment may be controlled by MaxCellMeasure:

The default PrecisionGoal is chosen to be a value so that curves appear as visually smooth:

MaxCellMeasure->∞ may be used to base the boundary measure on precision:

PrecisionGoal->None may be used to base the boundary measure on MaxCellMeasure:

AccuracyGoal->a may be used to specify an absolute tolerance :

The default is for MaxCellMeasure to apply to the boundary dimension:

The measure on the boundary may be further restricted by approximation requirements:

Quality  (4)

The measure of cells in the discretization can be controlled using MaxCellMeasure:

By default, this controls the measure of the edges:

Use AccuracyGoal to ensure the discretized boundary is close to the exact boundary:

The discretization with the higher AccuracyGoal is closer to the true boundary:

Use PrecisionGoal to ensure the discretized boundary is close to the exact boundary:

The discretization with the higher PrecisionGoal is closer to the true boundary:

Set PerformanceGoal to "Quality" for a high-quality discretization:

Or to "Speed" for a faster discretization that may be of lower quality:

Options  (24)

AccuracyGoal  (1)

Ensure that the discretized boundary representation is close to the boundary:

The largest deviation from the true disk is at the centers of the segments:

With a larger accuracy goal, the error is reduced by using more points:

MaxCellMeasure  (2)

With MaxCellMeasure->m, boundary cell size is less than or equal to :

This gives the lengths of the segments:

In 3D, the area of faces is controlled by MaxCellMeasure:

This gives the areas of the faces:

The lengths of edges can be controlled by setting a max measure for "Length":

This gives the lengths of the edges:

MeshCellHighlight  (3)

MeshCellHighlight allows you to specify highlighting for parts of a BoundaryMeshRegion:

By making faces transparent, the internal structure of a 3D BoundaryMeshRegion can be seen:

Individual cells can be highlighted using their cell index:

Or by the cell itself:

MeshCellLabel  (3)

MeshCellLabel can be used to label parts of a BoundaryMeshRegion:

Label the vertices and edges of a rectangle:

Individual cells can be labeled using their cell index:

Or by the cell itself:

MeshCellMarker  (1)

MeshCellMarker can be used to assign values to parts of a BoundaryMeshRegion:

Use MeshCellLabel to show the markers:

MeshCellShapeFunction  (2)

MeshCellShapeFunction allows you to specify functions for parts of a BoundaryMeshRegion:

Individual cells can be drawn using their cell index:

Or by the cell itself:

MeshCellStyle  (3)

MeshCellStyle allows you to specify styling for parts of a BoundaryMeshRegion:

By making faces transparent, the internal structure of a 3D BoundaryMeshRegion can be seen:

Individual cells can be highlighted using their cell index:

Or by the cell itself:

Method  (6)

The "Continuation" method uses a curve continuation method that can in many cases resolve corners, cusps, and sharp changes quite well:

The "RegionPlot" method is based on improving output from RegionPlot and can sometimes be faster:

The "Boolean" method is optimized for Boolean regions:

The "DiscretizeGraphics" method is optimized for graphics primitives:

The "RegionPlot3D" method for 3D regions is based on RegionPlot3D:

The "ContourPlot3D" method for 3D regions is based on ContourPlot3D:

PlotTheme  (2)

Use a theme with grid lines and a legend:

Use a theme to draw a wireframe:

PrecisionGoal  (1)

Ensure that the discretized boundary representation is close to the boundary:

The largest deviation from the true disk is at the centers of the segments:

With a larger accuracy goal, the error is reduced by using more points:

Applications  (2)

Visualize LaminaData:

Discretize and visualize the region:

Visualize SolidData:

Discretize and visualize the region:

Properties & Relations  (5)

The output of BoundaryDiscretizeRegion is a BoundaryMeshRegion:

Given a boundary discretization, TriangulateMesh can discretize the interior:

The boundary discretization represents the regular closure of a region:

The lower-dimensional component is lost, but can be represented by DiscretizeRegion:

BoundaryDiscretizeRegion can discretize a region with holes:

BoundaryDiscretizeRegion can discretize a region with disjoint components:

Neat Examples  (1)

Discretize an implicit Lissajous region:

See Also

BoundaryMeshRegion  BoundaryDiscretizeGraphics  MeshRegion  DiscretizeRegion  FindMeshDefects  RepairMesh  RegionImage

Related Guides

    ▪
  • Mesh-Based Geometric Regions
  • ▪
  • Geometric Computation

History

Introduced in 2014 (10.0) | Updated in 2015 (10.2)

Wolfram Research (2014), BoundaryDiscretizeRegion, Wolfram Language function, https://reference.wolfram.com/language/ref/BoundaryDiscretizeRegion.html (updated 2015).

Text

Wolfram Research (2014), BoundaryDiscretizeRegion, Wolfram Language function, https://reference.wolfram.com/language/ref/BoundaryDiscretizeRegion.html (updated 2015).

CMS

Wolfram Language. 2014. "BoundaryDiscretizeRegion." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2015. https://reference.wolfram.com/language/ref/BoundaryDiscretizeRegion.html.

APA

Wolfram Language. (2014). BoundaryDiscretizeRegion. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/BoundaryDiscretizeRegion.html

BibTeX

@misc{reference.wolfram_2025_boundarydiscretizeregion, author="Wolfram Research", title="{BoundaryDiscretizeRegion}", year="2015", howpublished="\url{https://reference.wolfram.com/language/ref/BoundaryDiscretizeRegion.html}", note=[Accessed: 01-March-2026]}

BibLaTeX

@online{reference.wolfram_2025_boundarydiscretizeregion, organization={Wolfram Research}, title={BoundaryDiscretizeRegion}, year={2015}, url={https://reference.wolfram.com/language/ref/BoundaryDiscretizeRegion.html}, note=[Accessed: 01-March-2026]}

Top
Introduction for Programmers
Introductory Book
Wolfram Function Repository | Wolfram Data Repository | Wolfram Data Drop | Wolfram Language Products
Top
  • Products
  • Wolfram|One
  • Mathematica
  • Notebook Assistant + LLM Kit
  • Compute Services
  • System Modeler

  • Wolfram|Alpha Notebook Edition
  • Wolfram|Alpha Pro
  • Mobile Apps

  • Wolfram Engine
  • Wolfram Player

  • Volume & Site Licensing
  • Server Deployment Options
  • Consulting
  • Wolfram Consulting
  • Repositories
  • Data Repository
  • Function Repository
  • Community Paclet Repository
  • Neural Net Repository
  • Prompt Repository

  • Wolfram Language Example Repository
  • Notebook Archive
  • Wolfram GitHub
  • Learning
  • Wolfram U
  • Wolfram Language Documentation
  • Webinars & Training
  • Educational Programs

  • Wolfram Language Introduction
  • Fast Introduction for Programmers
  • Fast Introduction for Math Students
  • Books

  • Wolfram Community
  • Wolfram Blog
  • Public Resources
  • Wolfram|Alpha
  • Wolfram Problem Generator
  • Wolfram Challenges

  • Computer-Based Math
  • Computational Thinking
  • Computational Adventures

  • Demonstrations Project
  • Wolfram Data Drop
  • MathWorld
  • Wolfram Science
  • Wolfram Media Publishing
  • Customer Resources
  • Store
  • Product Downloads
  • User Portal
  • Your Account
  • Organization Access

  • Support FAQ
  • Contact Support
  • Company
  • About Wolfram
  • Careers
  • Contact
  • Events
Wolfram Community Wolfram Blog
Legal & Privacy Policy
WolframAlpha.com | WolframCloud.com
© 2026 Wolfram
© 2026 Wolfram | Legal & Privacy Policy |
English