equalToEdge method

bool equalToEdge(
  1. Edge other
)

For checking if an Edge contains the same vertices as other.

Implementation

bool equalToEdge(Edge other) {
  return equalToVertices(other.a, other.b);
}