Function t8_dline_face_parent_face(const t8_dline_t *, int)
Defined in File t8_dline_bits.c
Function Documentation
-
int t8_dline_face_parent_face(const t8_dline_t *line, int face)
Given a face of a line return the face number of the parent of the line that matches the line’s face. Or return -1 if no face of the parent matches the face.
- Parameters:
line – [in] The line.
face – [in] The number of the face.
- Returns:
If face of line is also a face of line’s parent, the face number of this face. Otherwise -1.