boundary_faces
boundary_faces(T)
Given a tet mesh with tet indices T, returns all unique oriented boundary faces as indices into the vertex array. Works only on manifold meshes.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
T |
(m,4) numpy int array.
|
face index list of a triangle mesh |
required |
Returns:
Name | Type | Description |
---|---|---|
bF |
(bf,3) numpy int array.
|
indices of boundary faces into the vertex array |
Examples:
import gpytoolbox as gpy
v,t = gpy.regular_cube_mesh(4)
bf = gpy.boundary_faces(t)
Source code in src/gpytoolbox/boundary_faces.py
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
|