This one is a little better as it uses a cluster I wrote, isEqual, to test for equality within a tolerance value. Sometimes that makes a difference.
adjacent_crvs_2023Mar16a.gh (24.9 KB)
P.S. I just noticed though that both include “corners” (vertices) that are adjacent.