TetGenLink`
TetGenLink`

TetGenGetFacetHoles

TetGenGetFacetHoles[expr]

gets the holes in the facets.

更多信息和选项

  • To use TetGenGetFacetHoles, you first need to load it using Needs["TetGenLink`"].
  • TetGenGetFacetHoles retrieves facet holes set in a TetGen instance.

范例

基本范例  (1)

To use TetGenLink it must first be loaded:

You start by specifying the coordinates and displaying them:

Then you create the input instance and set the points:

Next, the list of facets is created. If a facet list has more than one entry, like the third facet in this example, the first facet represents the bounding facet and the subsequent facets indicate where the bounding facet should have an opening:

Here one facet is shown with an outline of where the facet should be open:

You set the facets in the input instance of TetGen:

For TetGen to open the facet, you set up a facet hole:

Then set the facet holes in the TetGen input instance with the TetGenSetFacetHoles command:

With TetGenGetFacetHoles, you can retrieve the value set in the TetGen instance:

Here is a picture of the bounding facet and the facet hole position:

TetGen works by meshing the entire object first and then in a second step removes the mesh from holes and cavities. Note that the cavity also needs a point to specify where it is situated. The point that specifies the opening is not sufficient. To specify where TetGen should put holes, use TetGenSetHoles:

With TetGenGetHoles, you can retrieve the value set in the TetGen instance:

To extract the faces and visualize them, use TetGenGetFaces:

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

文本

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

CMS

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

APA

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

BibTeX

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

BibLaTeX

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