uxarray.grid.geometry._check_intersection#
- uxarray.grid.geometry._check_intersection(ref_edge, edges)#
Check the number of intersections of the reference edge with the given edges.
- Parameters:
ref_edge (np.ndarray) – Reference edge to check intersections against.
edges (np.ndarray) – Edges to check for intersections. Shape: (n_edges, 2, 3)
- Returns:
Count of intersections.
- Return type: