Contains returns true if at least one point of the second shape lies in the first, and no points of the second lie in the exterior of the first.
()
| 2468 | // Contains returns true if at least one point of the second shape lies in the first, and no points |
| 2469 | // of the second lie in the exterior of the first. |
| 2470 | func (rel Relation) Contains() bool { |
| 2471 | return (rel & 0xC1) == 1 // Contains |
| 2472 | } |
| 2473 | |
| 2474 | // Within is the same as Contains but with the shapes swapped. |
| 2475 | func (rel Relation) Within() bool { |
nothing calls this directly
no outgoing calls
no test coverage detected