pub fn validate_edge_lengths(
ring: &[[i64; 2]],
config: &ProtocolConfig,
) -> Option<String>Expand description
Validate all edges have squared length >= MIN_EDGE_LENGTH_SQUARED. Returns None if valid, Some(error message) if any edge is too short. Matches polygon.move::validate_part_edges().