AGI AgAsHpopPlugin 6 Send comments on this topic.
IsForceModelOn Method (IAgAsHpopPluginResultPostEval)
See Also 
Type
Force model type (i.e., a constituent of the force model)
Windows








Description

Indicates whether a particular force model contributor is being considered.

Syntax

[Visual Basic .NET]
Public Function IsForceModelOn( _
   ByVal Type As AgEForceModelType _
) As Boolean

[C#]
public bool IsForceModelOn(
AgEForceModelType Type
);

[Managed C++]
public: bool IsForceModelOn(
AgEForceModelType Type
);

[Unmanaged C++]
public: HRESULT IsForceModelOn(
AgEForceModelType Type,
VARIANT_BOOL * ReturnValue
);

[VBScript]
'Function object.IsForceModelOn(...)  returns type Boolean
' Type is type AgEForceModelType (an integer)
result = object.IsForceModelOn(Type)

[Perl]
$return_value = $objectReference->IsForceModelOn(# $return_value is of type int
$Type# type AgEForceModelType (scalar integer)
);

Parameters

Type
Member Value Description
eGravityModel 0 Gravity.
eSolidTidesModel 1 Solid tides.
eOceanTidesModel 2 Ocean Tides.
eDragModel 3 Atmospheric drag.
eSRPModel 4 Solar radiation pressure.
eThirdBodyModel 5 Third bodies.
eGenRelativityModel 6 General relativity effects.
eAlbedoModel 7 Albedo (solar radiation reflected from central body).
eThermalRadiationPressureModel 8 Thermal radiation pressure from central body.
eDensityModel 9 Atmospheric Density.
Force model type (i.e., a constituent of the force model)

Return Type

Returns true if the indicated force model contributor is being computed as part of the total acceleration.

See Also

© 2017 Analytical Graphics, Inc. All Rights Reserved.

ODTK 6.5