MCPcopy Create free account
hub / github.com/PyMesh/PyMesh / get_face

Method get_face

src/Mesh.cpp:38–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36}
37
38VectorI Mesh::get_face(size_t i) {
39 size_t stride = get_vertex_per_face();
40 return get_faces().segment(i*stride, stride);
41}
42
43VectorI Mesh::get_voxel(size_t i) {
44 size_t stride = get_vertex_per_voxel();

Callers 15

getBoundaryFaceMethod · 0.80
getElementMethod · 0.80
getElementMethod · 0.80
getElementCenterMethod · 0.80
computeMethod · 0.80
extract_boundaryMethod · 0.80

Calls

no outgoing calls

Tested by 10

TEST_FFunction · 0.64
TEST_FFunction · 0.64
compute_face_centerMethod · 0.64
TEST_FFunction · 0.64
check_circumradiiMethod · 0.64
check_incircle_radiiMethod · 0.64
check_face_areaMethod · 0.64