Validate that selected edges form a closed loop.
Checks if the edges connect end-to-end to form a closed polygon.
Array of selected edge indices
Array of all edges in the geometry
Validation result with ordered vertices if valid
Validate that selected edges form a closed loop.
Checks if the edges connect end-to-end to form a closed polygon.