equals method

bool equals(
  1. Line3 line
)

Implementation

bool equals(Line3 line) {
  return line.start.equals(start) && line.end.equals(end);
}