CSGRegionTree

CSGRegionTree[reg]

gives the tree expression representing the CSG region reg.

Details and Options

  • CSGRegionTree is also known as CSG tree expression.
  • CSGRegionTree is typically used to generate Tree expressions representing CSG regions.
  • A CSG region tree is a tree where leaf vertices represent primitives and other vertices represent Boolean operations and transformations.

Examples

open allclose all

Basic Examples  (1)

A tree of a CSG region:

Scope  (3)

CSGRegionTree works on intersection operations:

Union:

Difference:

CSGRegionTree works on one-level CSG region:

Nested CSG region:

Intersection with more than two regions:

CSGRegionTree works on CSG regions in 2D:

3D:

D:

Properties & Relations  (2)

A CSGRegionTree is a tree:

Leaves of a CSG region tree represent primitives:

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

Text

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

CMS

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

APA

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

BibTeX

@misc{reference.wolfram_2023_csgregiontree, author="Wolfram Research", title="{CSGRegionTree}", year="2021", howpublished="\url{https://reference.wolfram.com/language/ref/CSGRegionTree.html}", note=[Accessed: 18-April-2024 ]}

BibLaTeX

@online{reference.wolfram_2023_csgregiontree, organization={Wolfram Research}, title={CSGRegionTree}, year={2021}, url={https://reference.wolfram.com/language/ref/CSGRegionTree.html}, note=[Accessed: 18-April-2024 ]}