MagneticCoilTorqueCreateMagneticCoilTorqueUsingWmmModel Method |
Creates a new magnetic coil torque that uses a
WorldMagneticModelVector
to describe the magnetic field and a
Point to describe
the position of the spacecraft.
Namespace:
AGI.Foundation.Celestial
Assembly:
AGI.Foundation.OrbitPropagation (in AGI.Foundation.OrbitPropagation.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax public static MagneticCoilTorque CreateMagneticCoilTorqueUsingWmmModel(
string filename,
Point bodyCenterOfMass,
double numberOfLoops,
Scalar current,
Vector directedArea,
Axes bodyAxes
)
Public Shared Function CreateMagneticCoilTorqueUsingWmmModel (
filename As String,
bodyCenterOfMass As Point,
numberOfLoops As Double,
current As Scalar,
directedArea As Vector,
bodyAxes As Axes
) As MagneticCoilTorque
public:
static MagneticCoilTorque^ CreateMagneticCoilTorqueUsingWmmModel(
String^ filename,
Point^ bodyCenterOfMass,
double numberOfLoops,
Scalar^ current,
Vector^ directedArea,
Axes^ bodyAxes
)
static member CreateMagneticCoilTorqueUsingWmmModel :
filename : string *
bodyCenterOfMass : Point *
numberOfLoops : float *
current : Scalar *
directedArea : Vector *
bodyAxes : Axes -> MagneticCoilTorque
Parameters
- filename
- Type: SystemString
String file path for WMM file. - bodyCenterOfMass
- Type: AGI.Foundation.GeometryPoint
The center of mass of the Earth-orbiting spacecraft. - numberOfLoops
- Type: SystemDouble
The number of current loops in the magnetic torquer coil. - current
- Type: AGI.Foundation.GeometryScalar
The electric current passing through the coil. - directedArea
- Type: AGI.Foundation.GeometryVector
The area of the coil multiplied by the unit vector that is normal
to the plane of the coil such that a positive current traveling through the coil
obeys the right hand rule. - bodyAxes
- Type: AGI.Foundation.GeometryAxes
The body axes of the spacecraft. These should be the
IntegrationAxes
of the PropagationEulerianAxes associated with the spacecraft.
Return Value
Type:
MagneticCoilTorqueA new magnetic coil torque that uses the WMM model to describe the magnetic field.
Exceptions See Also