AGI AgRadarPlugin 11 Send comments on this topic.
Compute Method (IAgStkRadarRcsPlugin)
See Also  Example
computeRcsParams





Description

RCS plugin compute.

Syntax

[Visual Basic .NET]
Public Sub Compute( _
   ByVal computeRcsParams As IAgStkRadarRcsComputeParams _
) 

[C#]
public void Compute(
IAgStkRadarRcsComputeParams computeRcsParams
);

[Managed C++]
public: void Compute(
IAgStkRadarRcsComputeParams ^ computeRcsParams
);

[Java]
public  compute(
IAgStkRadarRcsComputeParams computeRcsParams
);

[Unmanaged C++]
public: HRESULT Compute(
IAgStkRadarRcsComputeParams * computeRcsParams
);

Parameters

computeRcsParams

Remarks

The Compute method is responsible for computing and reporting the primary channel co-pol and cross-pol RCS values as well as the orthogonal channel co-pol and cross pol RCS values for the supplied body fixed incident and reflected vectors.  It does that by setting the PrimaryChannelRcs, PrimaryChannelRcsCross, OrthoChannelRcs, and OrthoChannelRcsCross properties on the computeRcsParams input parameter.

Example

C# Copy Code
public void Compute(IAgStkRadarRcsComputeParams computeRcsParams) 

    computeRcsParams.PrimaryChannelRcs = ConstantRCS; 
    computeRcsParams.PrimaryChannelRcsCross = 1.0e-20
    computeRcsParams.OrthoChannelRcs = ConstantRCS; 
    computeRcsParams.OrthoChannelRcsCross = 1.0e-20
}
C++ Copy Code
STDMETHODIMP CExample1::Compute(IAgStkRadarRcsComputeParams* computeRcsParams) 

    EX_BEGIN_PARAMS() 
        EX_IN_INTERFACE_PARAM(computeRcsParams) 
    EX_END_PARAMS() 
 
    HRESULT hr = S_OK; 
 
    try 
    { 
        EXCEPTION_HR(computeRcsParams->put_PrimaryChannelRcs(m_constantRCS)); 
        EXCEPTION_HR(computeRcsParams->put_PrimaryChannelRcsCross(1.0e-20)); 
        EXCEPTION_HR(computeRcsParams->put_OrthoChannelRcs(m_constantRCS)); 
        EXCEPTION_HR(computeRcsParams->put_OrthoChannelRcsCross(1.0e-20)); 
    } 
    catch( HRESULT r ) 
    { 
        hr = r; 
    } 
    catch(...) 
    { 
        hr = E_FAIL; 
    } 
 
    return hr; 
}

See Also

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1