TetGenLink`
TetGenLink`

TetGenGetNeighbors

TetGenGetNeighbors[expr]

gets the neighbors in a TetGen expression.

更多信息和选项

  • To use TetGenGetNeigbors, you first need to load it using Needs["TetGenLink`"].
  • TetGenGetNeigbors returns a list of a list of integers that specify which tetrahedra are next to each other. An entry of indicates that the respective tetrahedron is on the boundary.
  • TetGenGetNeigbors needs the "n" switch to be set during the call to TetGenTetrahedralize.

范例

基本范例  (1)

First, load the package:

This creates an instance of a TetGen expression:

This sets up points and facets to use:

This sets the points and facets in the TetGen instance:

This carries out the tetrahedralization, returning a new TetGen instance. The switch "n" requests TetGen to compute the neighbors:

This extracts the points and elements from the tetrahedralization:

This is a list of the neighboring elements, with indicating a boundary:

Wolfram Research (2010),TetGenGetNeighbors,Wolfram 语言函数,https://reference.wolfram.com/language/TetGenLink/ref/TetGenGetNeighbors.html.

文本

Wolfram Research (2010),TetGenGetNeighbors,Wolfram 语言函数,https://reference.wolfram.com/language/TetGenLink/ref/TetGenGetNeighbors.html.

CMS

Wolfram 语言. 2010. "TetGenGetNeighbors." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/TetGenLink/ref/TetGenGetNeighbors.html.

APA

Wolfram 语言. (2010). TetGenGetNeighbors. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/TetGenLink/ref/TetGenGetNeighbors.html 年

BibTeX

@misc{reference.wolfram_2024_tetgengetneighbors, author="Wolfram Research", title="{TetGenGetNeighbors}", year="2010", howpublished="\url{https://reference.wolfram.com/language/TetGenLink/ref/TetGenGetNeighbors.html}", note=[Accessed: 05-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_tetgengetneighbors, organization={Wolfram Research}, title={TetGenGetNeighbors}, year={2010}, url={https://reference.wolfram.com/language/TetGenLink/ref/TetGenGetNeighbors.html}, note=[Accessed: 05-November-2024 ]}