distanceToPoint method

double distanceToPoint(
  1. Vector3 point
)

Implementation

double distanceToPoint(Vector3 point) {
  return (point.distanceTo(center) - radius);
}