This is TetGen version 1.6.0 (released on August 31, 2020)
Please see the documentation of TetGen for compiling and using TetGen. It is available at the following link:
http://www.tetgen.org
For more information on this product, contact :
Hang Si Research Group of Numerical Mathematics and Scientific Computing Weierstrass Institute for Applied Analysis and Stochastics Mohrenstr. 39 10117 Berlin, Germany
EMail: si@wias-berlin.de Web Site: http://www.wias-berlin.de/~si
------------------- IMPORTANCE NOTICE -----------------------------
BEFORE INTALLING OR USING TetGen(R) READ the GENERAL LICENSE TERMS AND CONDITIONS
See build options in CMake file. Then, run following commands.
mkdir build
cd build
cmake ..
make
Install following packages before running examples.
- numpy (pip install numpy)
- trimesh (pip install trimesh)
python examples/exectuable_based/_random_points.py
build/tetgen random_points.node
In this example, there is a small plane floating inside a unit cube. We generate quality tetrahedra that conforms to the given PLC.
python examples/exectuable_based/_plane_in_box.py
build/tetgen -pq1.2ak _plane_in_box.poly
See documentation for the details of the flags.
Note that we should bind [build/libtetgen.a]. Therefore, we use "-L./build/" to specify linking directory.
Fixed the original code for using tetgenbehavior struct.
g++ -o test tetcall.cxx -L./build/ -ltetgen
We need following packages to run these examples.
- pybind11
git submodule add -b stable ../../pybind/pybind11 extern/pybind11
git submodule update --init
Run following command to build pytetgen.
pip install -e .
Note that -e flag should be used.
- matplotlib (pip install matplotlib)