JplSpkFileGetTargetPoint Method (IProvideNaifIdCode, IProvideNaifIdCode, Point) |
Gets a point describing the position of a target location with respect
to a center location.
Namespace:
AGI.Foundation.Spice
Assembly:
AGI.Foundation.Models (in AGI.Foundation.Models.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax public Point GetTargetPoint(
IProvideNaifIdCode targetPointProvider,
IProvideNaifIdCode centerPointProvider,
Point centerPoint
)
Public Function GetTargetPoint (
targetPointProvider As IProvideNaifIdCode,
centerPointProvider As IProvideNaifIdCode,
centerPoint As Point
) As Point
public:
Point^ GetTargetPoint(
IProvideNaifIdCode^ targetPointProvider,
IProvideNaifIdCode^ centerPointProvider,
Point^ centerPoint
)
member GetTargetPoint :
targetPointProvider : IProvideNaifIdCode *
centerPointProvider : IProvideNaifIdCode *
centerPoint : Point -> Point
Parameters
- targetPointProvider
- Type: AGI.Foundation.SpiceIProvideNaifIdCode
An interface that provides the NAIF ID number
of the location of the target point. - centerPointProvider
- Type: AGI.Foundation.SpiceIProvideNaifIdCode
An interface that provides the NAIF ID number
of the location of the central point. - centerPoint
- Type: AGI.Foundation.GeometryPoint
The central point that the target point is defined
with respect to.
Return Value
Type:
PointA point describing the position of a target location
with respect to a center location.
Exceptions Exception | Condition |
---|
ArgumentNullException | Thrown when the targetPointProvider,
centerPointProvider, or centerPoint are . |
ArgumentOutOfRangeException | Thrown when the *.bsp file does not contain direct information about
the target point with respect to the center point. |
UnsupportedCaseException | Thrown when the *.bsp file uses an unsupported coordinate frame.
Currently, only frames 1, 17, and 1900017 are supported. Also, thrown when the *.bsp file uses an
unsupported SPK ephemeris type Currently, only ephemeris types 1, 2, 3, 5, and 21 are supported. |
See Also