You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
public boolean equals(Object o)
{
if (o == null || !(o instanceof Line)) return false;
Line other = (Line) o;
return (origin == other.origin && direction == other.direction);
}
Should the 3 references to Line actually be Segment?