circle_compute_circle_penetration
circle_compute_circle_penetration(ax, ay, ar, bx, by, br) ⇒ number
Kind: global function
Returns: number
- positive value means that there is penetration, negative means that circles are separated
Param | Type | Description |
---|---|---|
ax | number | Center of first circle |
ay | number | Center of first circle |
ar | number | Radius of first circle |
bx | number | Center of second circle |
by | number | Center of second circle |
br | number | Radius of second circle |
- circle_compute_circle_penetration(ax, ay, ar, bx, by, br) ⇒
number
- ~distance :
number
- ~minSeparation :
number
- ~distance :
circle_compute_circle_penetration~distance : number
Compute distance between circle centers
Kind: inner constant of circle_compute_circle_penetration
circle_compute_circle_penetration~minSeparation : number
Minimum distance between circle centers for them to not overlap
Kind: inner constant of circle_compute_circle_penetration