hasVertex method

bool hasVertex(
  1. Vertex v
)

Implementation

bool hasVertex(Vertex v ) {
	return v == v1 || v == v2 || v == v3;
}