sets the segment markers for a Triangle expression.

Details and Options

  • To use TriangleSetSegmentMarkers, you first need to load it using Needs["TriangleLink`"].
  • TriangleSetSegmentMarkers sets the list of integer markers in a TriangleExpression.


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 sets the point and segment markers:

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

This extracts the points and elements from the triangulation:

With the following support function, you can visualize the triangles:

This extracts the segment markers:

Visualize some of the surface points: