Distance reports the distance from the cell to the given point. Returns zero if the point is inside the cell.
(target Point)
| 643 | // Distance reports the distance from the cell to the given point. Returns zero if |
| 644 | // the point is inside the cell. |
| 645 | func (c Cell) Distance(target Point) s1.ChordAngle { |
| 646 | return c.distanceInternal(target, true) |
| 647 | } |
| 648 | |
| 649 | // MaxDistance reports the maximum distance from the cell (including its interior) to the |
| 650 | // given point. |