Click or drag to resize

JplSpkFileGetTargetPoint Method (Int32, Int32, 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.1.418.0 (24.1.418.0)
Syntax
public Point GetTargetPoint(
	int naifIdOfTargetPoint,
	int naifIdOfCenterPoint,
	Point centerPoint
)

Parameters

naifIdOfTargetPoint
Type: SystemInt32
The NAIF ID number of the location of the target point.
naifIdOfCenterPoint
Type: SystemInt32
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: Point
A point describing the position of a target location with respect to a center location.
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown when the centerPoint is .
ArgumentOutOfRangeExceptionThrown when the *.bsp file does not contain direct information about the target point with respect to the center point.
UnsupportedCaseExceptionThrown 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 2, 3, 5, 9, 13, and 21 are supported.
See Also