TetGenLink`
TetGenLink`

TetGenGetRegions

TetGenGetRegions[expr]

returns the regions in a TetGen expression.

Details and OptionsDetails
  • 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:

    In[1]:=
    Click for copyable input

    This creates an instance of a TetGen expression:

    In[2]:=
    Click for copyable input
    Out[2]=

    This sets up points and facets to use:

    In[3]:=
    Click for copyable input

    This sets the points and facets in the TetGen instance:

    In[4]:=
    Click for copyable input

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

    In[5]:=
    Click for copyable input

    The material variables are set in the TetGen instance:

    In[6]:=
    Click for copyable input

    Retrieve the region values in a TetGen instance:

    In[7]:=
    Click for copyable input
    Out[7]=

    See Also

    TetGenSetRegions  TetGenTetrahedralize

    Tutorials