TetGenLink`
TetGenLink`

TetGenGetPoints

TetGenGetPoints[expr]

returns the points in a TetGen expression.

Details

  • To use TetGenGetPoints, you first need to load it using Needs["TetGenLink`"].
  • The points returned from a TetGen expression are a list of coordinates.
  • A TetGen expression can have points loaded by TetGenSetPoints, read from a file using TetGenImport, or created by TetGenTetrahedralize.
  • The memory used by a TetGen expression to hold points and other resources is cleared when you use TetGenDelete.

Examples

Basic Examples  (1)

First, load the package:

This creates an instance of a TetGen expression:

These are points to load to the instance:

This loads the points to the instance:

This retrieves the points from the instance: