TriangleLink`
TriangleLink`

TriangleGetRegions

TriangleGetRegions[expr]

returns the regions in a Triangle expression.

Details and Options

  • To use TriangleGetRegions, you first need to load it using Needs["TriangleLink`"].
  • TriangleGetRegions allows you to retrieve regions set in Triangle instances.

Examples

Basic Examples  (1)

To use TriangleLink, it must first be loaded:

Start by specifying the coordinates and displaying them:

Then create the input instance and set the points:

Next, the list of segments is created:

Set the segments in the input instance of Triangle:

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 Triangle instance:

Retrieve the region values in a Triangle instance: