CesiumLanguageWriter.Advanced.CesiumFormattingHelper.SensorVolumePortionToDisplayToString C# (CSharp) Method

SensorVolumePortionToDisplayToString() public static method

Converts a CesiumSensorVolumePortionToDisplay to the corresponding string in a CZML stream.
public static SensorVolumePortionToDisplayToString ( CesiumSensorVolumePortionToDisplay value ) : string
value CesiumSensorVolumePortionToDisplay The value to convert.
return string
        public static string SensorVolumePortionToDisplayToString(CesiumSensorVolumePortionToDisplay value)
        {
            switch (value)
            {
                case CesiumSensorVolumePortionToDisplay.Complete:
                    return "COMPLETE";
                case CesiumSensorVolumePortionToDisplay.AboveEllipsoidHorizon:
                    return "ABOVE_ELLIPSOID_HORIZON";
                case CesiumSensorVolumePortionToDisplay.BelowEllipsoidHorizon:
                    return "BELOW_ELLIPSOID_HORIZON";
                default:
                    throw new ArgumentException(CesiumLocalization.UnknownEnumerationValue, "value");
            }
        }