add shipCenPoint function