Click or drag to resize

TwoLineElementSet.TryConvertIntegerSatelliteCatalogNumbersToAlpha5 Method

Tries to convert an integer satellite catalog number into its corresponding Alpha-5 representation.

Namespace:  AGI.Foundation.Propagators
Assembly:  AGI.Foundation.Models (in AGI.Foundation.Models.dll) Version: 25.1.421.0 (25.1.421.0)
Syntax
public static bool TryConvertIntegerSatelliteCatalogNumbersToAlpha5(
	string intSatelliteCatalogNumberString,
	out string alphaFiveSatelliteCatalogNumberString
)

Parameters

intSatelliteCatalogNumberString
Type: System.String
The satellite catalog number represented as an integer that must be positive and less than 340000 in order to be able to be converted into an Alpha-5 satellite catalog number representation. Leading and trailing whitespace will be automatically trimmed.
alphaFiveSatelliteCatalogNumberString
Type: System.String
On return, a string of up to 5 digits where the first digit is alpha-numerical containing only capital letters (other than I or O) and 0-9, and the final 4 digits are numerical containing only 0-9 for each digit.

Return Value

Type: Boolean
true if a valid string has been entered; otherwise false.
See Also