AGI STK Astrogator 11Send comments on this topic.
Insert Method (IAgVAMCSSegmentCollection)
See Also 
SegmentType
SegmentName
SegmentToInsertBefore
Windows






Windows & Linux

Description

Adds a segment to the segment collection.

Syntax

[Visual Basic .NET]
Public Function Insert( _
   ByVal SegmentType As AgEVASegmentType, _
   ByVal SegmentName As String, _
   ByVal SegmentToInsertBefore As String _
) As IAgVAMCSSegment
[C#]
public IAgVAMCSSegment Insert(
   AgEVASegmentType SegmentType,
   string SegmentName,
   string SegmentToInsertBefore
);
[Managed C++]
public: IAgVAMCSSegment^ Insert(
   AgEVASegmentType SegmentType,
   String __gc ^ SegmentName,
   String __gc ^ SegmentToInsertBefore
);
[Java]
public IAgVAMCSSegment insert(
   AgEVASegmentType SegmentType,
   String SegmentName,
   String SegmentToInsertBefore
);
[Unmanaged C++]
public: HRESULT Insert(
   AgEVASegmentType SegmentType,
   BSTR SegmentName,
   BSTR SegmentToInsertBefore,
   IAgVAMCSSegment ** ReturnValue
);

Parameters

SegmentType
MemberValueDescription
eVASegmentTypeInitialState0Initial State - can be used to define the initial conditions of your MCS, or of a subsequence within the MCS.
eVASegmentTypeLaunch1Launch - can be used to model a simple spacecraft launch from Earth or another central body.
eVASegmentTypeManeuver2Maneuver - can be used to model a spacecraft maneuver.
eVASegmentTypeFollow3Follow - can be used to set the spacecraft to follow another vehicle (Satellite, Launch Vehicle, Missile, Aircraft, Ship, or Ground Vehicle) at a specified offset, and to separate from that vehicle upon meeting specified conditions.
eVASegmentTypeHold4Hold - can be used to model landing or rendezvous operations by setting the spacecraft to maintain a fixed position in reference to another object or body, until meeting specified conditions.
eVASegmentTypePropagate5Propagate - can be used to model the movement of the spacecraft along its current trajectory until meeting specified stopping conditions.
eVASegmentTypeSequence6Sequence - can be used to organize segments and define the nature of the results that are passed on to the next segment or sequence in the MCS.
eVASegmentTypeReturn7Return - can be used to control the execution of the Mission Control Sequence by returning control to its parent segment.
eVASegmentTypeTargetSequence8Target Sequence - can be used to define maneuvers and propagations in terms of the goals they are intended to achieve.
eVASegmentTypeStop9Stop - can be used to control the execution of the Mission Control Sequence by halting execution of the MCS.
eVASegmentTypeUpdate10Update - can be used to modify some of the satellite properties to reflect changes that occur during the mission.
eVASegmentTypeBackwardSequence11Backward Sequence - can be used to organize segments and define the nature of the results that are passed on to the next segment or sequence in the MCS.
eVASegmentTypeEnd12End - The End segment is a default segment of the MCS that functions similarly to a Return segment; it returns control to the beginning of the MCS. The End segment cannot be disabled or deleted, nor can any segments be inserted into the MCS after it.
SegmentName
SegmentToInsertBefore

See Also

© 2018 Analytical Graphics, Inc. All Rights Reserved.