ArcMapAddinVisibility.ViewModels.TabBaseViewModel.GetEsriGeodeticType C# (CSharp) 메소드

GetEsriGeodeticType() 개인적인 메소드

Get the currently selected geodetic type
private GetEsriGeodeticType ( ) : esriGeodeticType
리턴 esriGeodeticType
        internal esriGeodeticType GetEsriGeodeticType()
        {
            esriGeodeticType type = esriGeodeticType.esriGeodeticTypeGeodesic;

            switch (LineType)
            {
                case LineTypes.Geodesic:
                    type = esriGeodeticType.esriGeodeticTypeGeodesic;
                    break;
                case LineTypes.GreatElliptic:
                    type = esriGeodeticType.esriGeodeticTypeGreatElliptic;
                    break;
                case LineTypes.Loxodrome:
                    type = esriGeodeticType.esriGeodeticTypeLoxodrome;
                    break;
                default:
                    type = esriGeodeticType.esriGeodeticTypeGeodesic;
                    break;
            }

            return type;
        }