[Visual Basic .NET] |
---|
Public Function ComputeCentralBodyIntersectInCBF( _ ByVal BaseX As Double, _ ByVal BaseY As Double, _ ByVal BaseZ As Double, _ ByVal DirX As Double, _ ByVal DirY As Double, _ ByVal DirZ As Double _ ) As IAgStkRadarCBIntersectComputeResult |
[C#] |
---|
public IAgStkRadarCBIntersectComputeResult ComputeCentralBodyIntersectInCBF( double BaseX, double BaseY, double BaseZ, double DirX, double DirY, double DirZ ); |
[Managed C++] |
---|
public: IAgStkRadarCBIntersectComputeResult^ ComputeCentralBodyIntersectInCBF( double BaseX, double BaseY, double BaseZ, double DirX, double DirY, double DirZ ); |
[Unmanaged C++] |
---|
public: HRESULT ComputeCentralBodyIntersectInCBF( double BaseX, double BaseY, double BaseZ, double DirX, double DirY, double DirZ, IAgStkRadarCBIntersectComputeResult ** ppCBIntersectComputeResult ); |
- BaseX
- X component of the BasePositionCBF vector in meters.
- BaseY
- Y component of the BasePositionCBF vector in meters.
- BaseZ
- Z component of the BasePositionCBF vector in meters.
- DirX
- X component of the DirectionCBF vector in meters.
- DirY
- Y component of the DirectionCBF vector in meters.
- DirZ
- Z component of the DirectionCBF vector in meters.
The ComputeCentralBodyIntersectInCBF method will set the %IntersectionFound:AgStkRadar~IAgStkRadarCBIntersectComputeResult~IntersectionFound% property of the returned %IAgStkRadarCBIntersectComputeResult:AgStkRadar~IAgStkRadarCBIntersectComputeResult% interface to true if the direction vector specified by the inputted base and direction coordinates will intersect the central body and false otherwise. The origin of the direction vector is specified by the inputted base and direction coordinates. The intercept1 and intercept2 vectors are points of intersection with the central body. The multiplier1 and multiplier2 values represent scalars by which the direction vector is multiplied and then added to the base vector to yield the intersection points. The multipliers may be positive or negative depending on if the intersections occur in the positive or negative direction.