Is there an easy way to check if two segments are equal regardless of direction? #170
Unanswered
DonaldDuck313
asked this question in
Q&A
Replies: 1 comment
-
segment1.equalTo(segment2) || segment1.reverse().equalTo(segment2) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have two segments that are between the two same points, but in opposite directions. If I compare them with
equalTo
it returns false:Is there a way to check that these two segments are equal ignoring their direction?
Beta Was this translation helpful? Give feedback.
All reactions