SolarSystemBody(SolarSystemBodyOrbitDataSource, String) Constructor
Namespace: ASCOM.ToolsAssembly: ASCOM.AstrometryTools (in ASCOM.AstrometryTools.dll) Version: 3.0.0-rc.1+86c25ce733aebb4d8b1b8a62e84770ea5e972bea
public SolarSystemBody(
SolarSystemBodyOrbitDataSource orbitDataSource,
string orbitString
)
Public Sub New (
orbitDataSource As SolarSystemBodyOrbitDataSource,
orbitString As String
)
Parameters
- orbitDataSource SolarSystemBodyOrbitDataSource
- Organisation providing the orbit data and the data format specification
- orbitString String
- Orbit data as a a string in the selected organisation's data format.
The internal ephemeris object orbit parameters are populated by parsing the orbit string provided in this constructor.
HelperExceptions are raised
if fields specified in the selected data format cannot be read.
| HelperException | If the data elements defined by the organisation's format cannot be extracted from the supplied orbit data string. |
Supported in: 2.0