autopdex.geometry.elem_in_plane
- autopdex.geometry.elem_in_plane(x_nodes, x_p1, normal)[source]
Check if an element lies in a plane defined by a point and a normal vector.
- Parameters:
x_nodes (jnp.ndarray) – Array of nodes of the element.
x_p1 (jnp.ndarray) – A point on the plane.
normal (jnp.ndarray) – The normal vector of the plane.
- Returns:
True if the element lies in the plane, False otherwise.
- Return type:
bool