hasPoint method

bool hasPoint(
  1. Reference point
)
inherited

Indicates whether point is one of the points in this connection.

Implementation

bool hasPoint(Reference point) => point1 == point || point2 == point;