Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public boolean equals(Line other)
- {
- if(isVert != other.isVert)
- {
- return false;
- }
- if(areClose(isVert, other.isVertical()) && areClose(slope, other.getSlope())&& areClose(intercept, other.getIntercept()
- {
- return true;
- }
- else
- {
- return false;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement