Intersects returns true if both shapes have at least one point in common, ie. they may touch/overlap/contain/equal.
()
| 2450 | // Intersects returns true if both shapes have at least one point in common, ie. they may |
| 2451 | // touch/overlap/contain/equal. |
| 2452 | func (rel Relation) Intersects() bool { |
| 2453 | return (rel & 0x1B) != 0 |
| 2454 | } |
| 2455 | |
| 2456 | // Equals returns true if all interior points of one are interior of the other, and the same for |
| 2457 | // exterior points. |
no outgoing calls