TwoLineElementSet Constructor (String, Boolean, Char) |
Initializes a new Two Line Element Set from a string representation of the TLE
and optionally verifies the checksums.
Namespace:
AGI.Foundation.Propagators
Assembly:
AGI.Foundation.Models (in AGI.Foundation.Models.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax public TwoLineElementSet(
string tle,
bool verifyChecksums,
char[] whiteSpaceCharacters
)
Public Sub New (
tle As String,
verifyChecksums As Boolean,
whiteSpaceCharacters As Char()
)
public:
TwoLineElementSet(
String^ tle,
bool verifyChecksums,
array<wchar_t>^ whiteSpaceCharacters
)
new :
tle : string *
verifyChecksums : bool *
whiteSpaceCharacters : char[] -> TwoLineElementSet
Parameters
- tle
- Type: SystemString
The TLE represented in the standard format. - verifyChecksums
- Type: SystemBoolean
to verify the checksums and throw an exception if they are invalid.
to ignore the checksums.
- whiteSpaceCharacters
- Type: SystemChar
An array of Unicode characters to be treated as white space within the TLE string.
Exceptions Exception | Condition |
---|
ArgumentNullException |
Thrown when tle or whiteSpaceCharacters is .
|
ArgumentException |
Thrown when tle contains less than two lines,
or when verifyChecksums is and tle has an invalid checksum for line 1 or line 2,
or when tle has an invalid format for line 1 or line 2.
|
See Also