Click or drag to resize

MarsBspEphemerisProvider Constructor (StreamFactory, Point)

Initializes a new instance with the specified stream factory.

Namespace:  AGI.Foundation.Spice
Assembly:  AGI.Foundation.Models (in AGI.Foundation.Models.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
public MarsBspEphemerisProvider(
	StreamFactory streamFactory,
	Point marsSystemBarycenter
)

Parameters

streamFactory
Type: AGI.Foundation.InfrastructureStreamFactory
The factory to use to create streams to read the JPL SPK data.
marsSystemBarycenter
Type: AGI.Foundation.GeometryPoint
The point around which the moons of Mars are defined to orbit. This should be updated using UseForCentralBodyPositions(CentralBodiesFacet) or UseForCentralBodyPositions(CentralBodiesFacet) before being extracted to use in this constructor.
Exceptions
ExceptionCondition
ArgumentNullException Thrown when streamFactory or marsSystemBarycenter is .
Remarks
The streams created by streamFactory must support seeking.
See Also