Returns the linear distance from the center of this panel object and another. Both panels must have the same parent for this function to work properly.