WOLFRAM

gives the dimension of the space in which the region reg is embedded.

Details

  • RegionEmbeddingDimension is also known as space dimension.
  • The embedding dimension gives the dimension of the ambient space in which reg is embedded.
  • Example cases with rows corresponding to RegionEmbeddingDimension and columns to geometric dimension:

Examples

open allclose all

Basic Examples  (1)Summary of the most common use cases

Find the dimension of the space in which a region is embedded:

Out[1]=1
Out[2]=2
Out[3]=3
Out[4]=4

Scope  (14)Survey of the scope of standard use cases

Special Regions  (4)

Regions in including Point:

Out[1]=1

Interval:

Out[3]=3
Out[4]=4

Regions in including Point:

Out[1]=1
Out[2]=2

Line:

Out[3]=3
Out[4]=4

Circle:

Out[5]=5
Out[6]=6

Disk:

Out[7]=7
Out[8]=8

Regions in including Point:

Out[1]=1
Out[2]=2

Line:

Out[3]=3
Out[4]=4

Polygon:

Out[5]=5
Out[6]=6

Cylinder:

Out[7]=7
Out[8]=8

Regions in including Simplex in :

Out[1]=1

Cuboid in :

Out[2]=2

Ball in :

Out[3]=3

Formula Regions  (2)

The embedding dimension of a disk represented as an ImplicitRegion:

Out[1]=1

A cylinder:

Out[2]=2

A disk embedded in 3D:

Out[3]=3

The embedding dimension of a disk represented as a ParametricRegion:

Out[1]=1

Using a rational parametrization of the disk:

Out[2]=2

A cylinder:

Out[3]=3

A disk embedded in 3D:

Out[4]=4

Mesh Regions  (3)

The embedding dimension of a BoundaryMeshRegion:

Out[1]=1
Out[2]=2

In 3D:

Out[3]=3
Out[4]=4

The embedding dimension of a MeshRegion in 1D:

Out[1]=1
Out[2]=2

2D:

Out[3]=3
Out[4]=4

In 3D:

Out[5]=5
Out[6]=6

A 1D mesh embedded in 2D:

Out[1]=1
Out[2]=2

Derived Regions  (3)

The embedding dimension of a RegionIntersection:

Out[3]=3
Out[4]=4

The embedding dimension of a TransformedRegion:

Out[2]=2
Out[3]=3

The embedding dimension of a RegionBoundary:

Out[2]=2
Out[3]=3

Geographic Regions  (2)

Polygons with GeoPosition:

Out[2]=2

Polygons with GeoPositionXYZ:

Out[4]=4

Polygons with GeoPositionENU:

Out[6]=6

Polygons with GeoGridPosition:

Out[2]=2

Applications  (2)Sample problems that can be solved with this function

Select only full-dimensional primitives:

Out[2]=2

Generate random points with the same embedding dimension as a given region:

Visualize regions with random points:

Out[3]=3

Properties & Relations  (8)Properties of the function, and connections to other functions

RegionEmbeddingDimension is the dimension of the space in which a region is embedded:

Out[2]=2

RegionDimension is the dimension of the point set that the region represents:

Out[3]=3

RegionEmbeddingDimension is always greater than or equal to RegionDimension:

Out[4]=4

RegionEmbeddingDimension is the number of variables needed for a point in the region:

Out[2]=2

Since the embedding dimension is 3, three variables are needed:

Out[3]=3

Since the embedding dimension is 3, the point p is taken to have length 3:

Out[4]=4

RegionEmbeddingDimension for MeshRegion corresponds to the length of points:

Out[1]=1
Out[2]=2

Similarly for BoundaryMeshRegion:

Out[3]=3
Out[4]=4

For an ImplicitRegion, RegionEmbeddingDimension is the number of variables:

Out[1]=1
Out[2]=2

For a ParametricRegion, RegionEmbeddingDimension is the number of equations:

Out[1]=1
Out[2]=2

Boolean operations are defined for regions of the same RegionEmbeddingDimension:

Out[1]=1
Out[2]=2

With the same embedding dimension, the operation is well defined:

Out[3]=3
Out[4]=4

Boolean operations do not change the RegionEmbeddingDimension:

Out[2]=2

Various Boolean operations all have the same embedding dimension:

Out[3]=3

The RegionEmbeddingDimension of a RegionProduct is the sum of the input dimensions:

Out[2]=2

The resulting embedding dimension is the sum:

Out[3]=3
Wolfram Research (2014), RegionEmbeddingDimension, Wolfram Language function, https://reference.wolfram.com/language/ref/RegionEmbeddingDimension.html.
Wolfram Research (2014), RegionEmbeddingDimension, Wolfram Language function, https://reference.wolfram.com/language/ref/RegionEmbeddingDimension.html.

Text

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

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

CMS

Wolfram Language. 2014. "RegionEmbeddingDimension." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/RegionEmbeddingDimension.html.

Wolfram Language. 2014. "RegionEmbeddingDimension." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/RegionEmbeddingDimension.html.

APA

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

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

BibTeX

@misc{reference.wolfram_2025_regionembeddingdimension, author="Wolfram Research", title="{RegionEmbeddingDimension}", year="2014", howpublished="\url{https://reference.wolfram.com/language/ref/RegionEmbeddingDimension.html}", note=[Accessed: 29-March-2025 ]}

@misc{reference.wolfram_2025_regionembeddingdimension, author="Wolfram Research", title="{RegionEmbeddingDimension}", year="2014", howpublished="\url{https://reference.wolfram.com/language/ref/RegionEmbeddingDimension.html}", note=[Accessed: 29-March-2025 ]}

BibLaTeX

@online{reference.wolfram_2025_regionembeddingdimension, organization={Wolfram Research}, title={RegionEmbeddingDimension}, year={2014}, url={https://reference.wolfram.com/language/ref/RegionEmbeddingDimension.html}, note=[Accessed: 29-March-2025 ]}

@online{reference.wolfram_2025_regionembeddingdimension, organization={Wolfram Research}, title={RegionEmbeddingDimension}, year={2014}, url={https://reference.wolfram.com/language/ref/RegionEmbeddingDimension.html}, note=[Accessed: 29-March-2025 ]}