Function distanceToCenter

Returns the distance from point a to the center of shape.

  • Parameters

    Returns number