is_face_alternating#

is_face_alternating(face)#

Check if all endpoints around a face have the same parity as the first.

Parameters:

face (list) – A list of endpoints forming a face boundary in CCW order.

Returns:

True if all positions share the same parity as face[0], else False.

Return type:

bool