Function t8_dtri_nearest_common_ancestor(const t8_dtri_t *, const t8_dtri_t *, t8_dtri_t *)
Defined in File t8_dtri_bits.h
Function Documentation
-
void t8_dtri_nearest_common_ancestor(const t8_dtri_t *element1, const t8_dtri_t *element2, t8_dtri_t *nca)
Computes the nearest common ancestor of two triangles in the same tree.
Note
element1, element2, nca may point to the same quadrant.
- Parameters:
element1 – [in] First input triangle.
element2 – [in] Second input triangle.
nca – [inout] Existing triangle whose data will be filled.