TriangleLink`
TriangleLink`

TriangleSetSegmentMarkers

TriangleSetSegmentMarkers[expr,markers]

sets the segment markers for a Triangle expression.

更多信息和选项

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

范例

基本范例  (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: