Distance to boundary, not polygon.