SuperMap.Web.ISDotNET6.ServerGeometry.ToGeoPoint C# (CSharp) Method

ToGeoPoint() private method

private ToGeoPoint ( ) : GeoPoint
return SuperMap.Web.Core.GeoPoint
        internal GeoPoint ToGeoPoint()
        {
            if (this.Feature == ServerFeatureType.Point)
            {
                return new GeoPoint(this.Point2Ds[0].X, this.Point2Ds[0].Y);
            }
            return null;
        }