PolarizationComputeRotation Method (Polarization, Polarization, UnitQuaternion, UnitCartesian) |
Computes the rotation angle between the source and sink polarizations.
Namespace:
AGI.Foundation.Communications
Assembly:
AGI.Foundation.Communications (in AGI.Foundation.Communications.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax public static double ComputeRotation(
Polarization source,
Polarization sink,
UnitQuaternion sourceToSinkRotation,
UnitCartesian sinkToSourceDirection
)
Public Shared Function ComputeRotation (
source As Polarization,
sink As Polarization,
sourceToSinkRotation As UnitQuaternion,
sinkToSourceDirection As UnitCartesian
) As Double
public:
static double ComputeRotation(
Polarization^ source,
Polarization^ sink,
UnitQuaternion sourceToSinkRotation,
UnitCartesian sinkToSourceDirection
)
static member ComputeRotation :
source : Polarization *
sink : Polarization *
sourceToSinkRotation : UnitQuaternion *
sinkToSourceDirection : UnitCartesian -> float
Parameters
- source
- Type: AGI.Foundation.CommunicationsPolarization
The polarization associated with the signal source. - sink
- Type: AGI.Foundation.CommunicationsPolarization
The polarization associated with the signal sink. - sourceToSinkRotation
- Type: AGI.Foundation.CoordinatesUnitQuaternion
The unit quaternion which represents the rotation from the source axes to the sink axes. - sinkToSourceDirection
- Type: AGI.Foundation.CoordinatesUnitCartesian
The direction from the sink position to the source position.
Return Value
Type:
DoubleThe rotation angle in radians.
See Also