TetGenLink`
TetGenLink`

TetGenGetRegions

TetGenGetRegions[expr]

returns the regions in a TetGen expression.

Details

  • To use TetGenGetRegions, you first need to load it using Needs["TetGenLink`"].
  • TetGenGetRegions allows you to retrieve regions set in TetGen instances.

Examples

Basic Examples  (1)

First, load the package:

This creates an instance of a TetGen expression:

This sets up points and facets to use:

This sets the points and facets in the TetGen instance:

This sets up variables that specify a point within a material domain, as well as a region attribute and a region constraint:

The material variables are set in the TetGen instance:

Retrieve the region values in a TetGen instance: