TwoLineElementSetToTleString Method |
Returns a TLE string representing this
TwoLineElementSet in the standard NORAD format,
described by CelesTrak. The
format consists of two or three lines with a new line after each. If the
Name is not
and not empty, the output contains three lines where the first
is the result of
ToTleStringLine0, the second is the result of
ToTleStringLine1, and the third is the result of
ToTleStringLine2.
If the name is
or empty, line zero is omitted. In either case, the lines are separated by
your platform's new line string, usually "\n" or "\r\n".
Namespace:
AGI.Foundation.Propagators
Assembly:
AGI.Foundation.Models (in AGI.Foundation.Models.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax public string ToTleString()
Public Function ToTleString As String
public:
String^ ToTleString()
member ToTleString : unit -> string
Return Value
Type:
StringThe TLE string.
Exceptions Exception | Condition |
---|
PropertyInvalidException |
The properties of this instance cannot be represented as a TLE string because a value is outside the
allowed range or the Name property is longer than 24 characters.
|
See Also