equals method
Returns true if the given line segment is deep equal with this line segment.
Implementation
bool equals(LineSegment lineSegment ) {
return lineSegment.from.equals( from ) && lineSegment.to.equals( to );
}
Returns true if the given line segment is deep equal with this line segment.
bool equals(LineSegment lineSegment ) {
return lineSegment.from.equals( from ) && lineSegment.to.equals( to );
}