Within is the same as Contains but with the shapes swapped.
()
| 2473 | |
| 2474 | // Within is the same as Contains but with the shapes swapped. |
| 2475 | func (rel Relation) Within() bool { |
| 2476 | return (rel & 0x25) == 1 // Within |
| 2477 | } |
| 2478 | |
| 2479 | // Covers returns true if at least one point of the second shape lies in the first, and no points |
| 2480 | // of the second lie in the exterior of the first, including boundaries. It is similar to Contains |
no outgoing calls