TriangleLink`
TriangleLink`
TriangleGetSegmentMarkers
TriangleGetSegmentMarkers[expr]
returns the segment markers for a Triangle expression.
Details and Options
- To use TriangleGetSegmentMarkers, you first need to load it using Needs["TriangleLink`"].
- TriangleGetSegmentMarkers returns the list of integers in a TriangleExpression that has been set with TriangleSetSegmentMarkers.
Examples
Basic Examples (1)
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: