Description
Ballistic propagator interface.
Object Model
Public Methods
Public Properties
EphemerisInterval | The propagator's ephemeris interval. |
ImpactLocation | Get the impact location. |
ImpactLocationSupportedTypes | Returns an array of valid choices. |
ImpactLocationType | Get impact location type. |
Launch | Get launch parameters. |
LaunchSupportedTypes | Returns an array of valid choices. |
LaunchType | Get flight parameters type. |
StartTime | This property is deprecated. Use EphemerisInterval to configure the propagation interval. Start time. Uses DateFormat Dimension. |
Step | Step size. Uses Time Dimension. |
StopTime | This property is deprecated. Use EphemerisInterval to configure the propagation interval. Stop time. Uses DateFormat Dimension. |
UseScenarioAnalysisTime | This property is deprecated. Use the new Timeline API components to configure the propagator's analysis time. Whether the scenario analysis start/stop times shall be used. |
Interfaces
Example
Define missile trajectory
[C#] | Copy Code |
---|
missile.SetTrajectoryType(AgEVePropagatorType.ePropagatorBallistic);
IAgVePropagatorBallistic trajectory = missile.Trajectory as IAgVePropagatorBallistic;
trajectory.EphemerisInterval.SetExplicitInterval("1 Jan 2012 12:00:00.000", "2 Jan 2012 12:00:00.000");
trajectory.Step = 60.0;
trajectory.SetLaunchType(AgEVeLaunch.eLaunchLLA);
IAgVeLaunchLLA launch = trajectory.Launch as IAgVeLaunchLLA;
launch.Lat = 0.0;
launch.Lon = 0.0;
launch.Alt = 0.0;
trajectory.SetImpactLocationType(AgEVeImpactLocation.eImpactLocationPoint);
IAgVeImpactLocationPoint impactLocation = trajectory.ImpactLocation as IAgVeImpactLocationPoint;
impactLocation.SetLaunchControlType(AgEVeLaunchControl.eLaunchControlFixedTimeOfFlight);
IAgVeLaunchControlFixedTimeOfFlight launchControl = impactLocation.LaunchControl as IAgVeLaunchControlFixedTimeOfFlight;
launchControl.TimeOfFlight = 9000.0;
impactLocation.SetImpactType(AgEVeImpact.eImpactLLA);
IAgVeImpactLLA impact = impactLocation.Impact as IAgVeImpactLLA;
impact.Lat = 12.0;
impact.Lon = 5.0;
impact.Alt = 0.0;
trajectory.Propagate();
|
|
Configure the Ballistic propagator
[C#] | Copy Code |
---|
propagator.Step = 30;
propagator.SetLaunchType(AgEVeLaunch.eLaunchLLA);
IAgVeLaunchLLA launch = propagator.Launch as IAgVeLaunchLLA;
launch.Lat = 30.338;
launch.Lon = 33.468;
launch.Alt = 1.5;
propagator.SetImpactLocationType(AgEVeImpactLocation.eImpactLocationPoint);
IAgVeImpactLocationPoint impactLocation = propagator.ImpactLocation as IAgVeImpactLocationPoint;
impactLocation.SetImpactType(AgEVeImpact.eImpactLLA);
impactLocation.SetLaunchControlType(AgEVeLaunchControl.eLaunchControlFixedDeltaV);
IAgVeImpactLLA impact = impactLocation.Impact as IAgVeImpactLLA;
impact.Lat = 25.474;
impact.Lon = 68.306;
impact.Alt = 0.0;
IAgVeLaunchControlFixedDeltaV fixedDeltaV = impactLocation.LaunchControl as IAgVeLaunchControlFixedDeltaV;
fixedDeltaV.DeltaV = 7.545;
propagator.Propagate();
|
|
Configure the Ballistic propagator
[Visual Basic .NET] | Copy Code |
---|
propagator.[Step] = 30 propagator.SetLaunchType(AgEVeLaunch.eLaunchLLA)
Dim launch As IAgVeLaunchLLA = TryCast(propagator.Launch, IAgVeLaunchLLA) launch.Lat = 30.338 launch.Lon = 33.468 launch.Alt = 1.5
propagator.SetImpactLocationType(AgEVeImpactLocation.eImpactLocationPoint)
Dim impactLocation As IAgVeImpactLocationPoint = TryCast(propagator.ImpactLocation, IAgVeImpactLocationPoint) impactLocation.SetImpactType(AgEVeImpact.eImpactLLA) impactLocation.SetLaunchControlType(AgEVeLaunchControl.eLaunchControlFixedDeltaV)
Dim impact As IAgVeImpactLLA = TryCast(impactLocation.Impact, IAgVeImpactLLA) impact.Lat = 25.474 impact.Lon = 68.306 impact.Alt = 0
Dim fixedDeltaV As IAgVeLaunchControlFixedDeltaV = TryCast(impactLocation.LaunchControl, IAgVeLaunchControlFixedDeltaV) fixedDeltaV.DeltaV = 7.545
propagator.Propagate()
|
|
Define missile trajectory
[Visual Basic .NET] | Copy Code |
---|
missile.SetTrajectoryType(AgEVePropagatorType.ePropagatorBallistic)
Dim trajectory As IAgVePropagatorBallistic = TryCast(missile.Trajectory, IAgVePropagatorBallistic)
trajectory.EphemerisInterval.SetExplicitInterval("1 Jan 2012 12:00:00.000", "2 Jan 2012 12:00:00.000") trajectory.[Step] = 60
trajectory.SetLaunchType(AgEVeLaunch.eLaunchLLA) Dim launch As IAgVeLaunchLLA = TryCast(trajectory.Launch, IAgVeLaunchLLA) launch.Lat = 0 launch.Lon = 0 launch.Alt = 0
trajectory.SetImpactLocationType(AgEVeImpactLocation.eImpactLocationPoint)
Dim impactLocation As IAgVeImpactLocationPoint = TryCast(trajectory.ImpactLocation, IAgVeImpactLocationPoint) impactLocation.SetLaunchControlType(AgEVeLaunchControl.eLaunchControlFixedTimeOfFlight)
Dim launchControl As IAgVeLaunchControlFixedTimeOfFlight = TryCast(impactLocation.LaunchControl, IAgVeLaunchControlFixedTimeOfFlight) launchControl.TimeOfFlight = 9000
impactLocation.SetImpactType(AgEVeImpact.eImpactLLA) Dim impact As IAgVeImpactLLA = TryCast(impactLocation.Impact, IAgVeImpactLLA) impact.Lat = 12 impact.Lon = 5 impact.Alt = 0
trajectory.Propagate()
|
|
CoClasses that Implement IAgVePropagatorBallistic