TriangleLink`
TriangleLink`

TriangleGetPointMarkers

TriangleGetPointMarkers[expr]

returns the point markers in a Triangle expression.

更多信息和选项

  • To use TriangleGetPointMarkers, you first need to load it using Needs["TriangleLink`"].
  • TriangleGetPointMarkers returns a list of integers that specify which points have the same markers.

范例

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

Visualize some of the surface points: