Spatial4n.Core.Shapes.Impl.RectangleImpl.GetCenter C# (CSharp) Méthode

GetCenter() public méthode

public GetCenter ( ) : System.Point
Résultat System.Point
        public Point GetCenter()
        {
            double y = GetHeight() / 2 + minY;
            double x = GetWidth() / 2 + minX;
            if (minX > maxX)//WGS84
                x = DistanceUtils.NormLonDEG(x); //in case falls outside the standard range
            return new PointImpl(x, y, ctx);
        }