gets the elements in a Triangle expression.

Details and Options

  • To use TriangleGetElements, you first need to load it using Needs["TriangleLink`"].
  • TriangleGetElements returns a list of a list of integers that specify which parts of the coordinates make up the triangle.


Basic Examples  (1)

First, load the package:

This creates an instance of a Triangle expression:

This sets up points and facets to use:

This sets the points and facets in the Triangle instance:

This carries out the triangulation, returning a new Triangle instance:

This extracts the points and elements from the triangulation:

You can visualize the triangles: