TwoLineElementSet Constructor (String, Boolean) |
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: 25.1.421.0 (25.1.421.0)
Syntaxpublic TwoLineElementSet(
string tle,
bool verifyChecksums
)
Public Sub New (
tle As String,
verifyChecksums As Boolean
)
public:
TwoLineElementSet(
String^ tle,
bool verifyChecksums
)
new :
tle : string *
verifyChecksums : bool -> TwoLineElementSet
Parameters
- tle
- Type: System.String
The TLE represented in the standard format. - verifyChecksums
- Type: System.Boolean
true to verify the checksums and throw an exception if they are invalid.
false to ignore the checksums.
ExceptionsException | Condition |
---|
ArgumentNullException |
Thrown when tle is null.
|
ArgumentException |
Thrown when tle contains more than two lines,
or when verifyChecksums is true 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