korlibs
Toggle table of contents
6.1.0-SNAPSHOT
common
Target filter
common
Switch theme
Search in API
Skip to content
korlibs
korlibs-math
/
korlibs.math.geom.shape
/
BaseShape2D
/
distance
distance
open
override
fun
distance
(
p
:
Point
)
:
Double
Compute the distance to the shortest point to the edge (SDF). Negative inside. Positive outside.