Click or drag to resize

MagneticCoilTorqueCreateMagneticCoilTorqueUsingIgrfCofModel Method

Creates a new magnetic coil torque that uses an InternationalGeomagneticReferenceFieldVector 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 CreateMagneticCoilTorqueUsingIgrfCofModel(
	string filename,
	Point bodyCenterOfMass,
	double numberOfLoops,
	Scalar current,
	Vector directedArea,
	Axes bodyAxes
)

Parameters

filename
Type: SystemString
String file path for IGRF .COF file.
bodyCenterOfMass
Type: AGI.Foundation.GeometryPoint
The center of mass of the 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: MagneticCoilTorque
A new magnetic coil torque that uses the IGRF model to describe the magnetic field.
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown if the filename is .
See Also