STK AviatorSend comments on this topic.
IAgAvtrProcedureTakeoff Interface

Description

Interface used to access the options for a takeoff procedure.

Public Methods

Public Method GetAsProcedureGet the procedure interface.

Public Properties

Public Property ModeAsDeparturePointGet the interface for a departure point takeoff.
Public Property ModeAsLowTransitionGet the interface for a low transition takeoff.
Public Property ModeAsNormalGet the interface for a normal takeoff.
Public Property RunwayHeadingOptionsGet the runway heading options.
Public Property TakeoffModeGets or sets the type of takeoff the aircraft will perform.

Interfaces

Implemented Interface
IAgAvtrProcedure

CoClasses that Implement IAgAvtrProcedureTakeoff

Example

Add a takeoff procedure from a runway
[C#]
// Add a takeoff procedure with a runway as a site
IAgAvtrProcedureTakeoff takeoff = procedures.Add(AgEAvtrSiteType.eSiteRunway, AgEAvtrProcedureType.eProcTakeoff) as IAgAvtrProcedureTakeoff;

// Get the runway heading options
IAgAvtrRunwayHeadingOptions headingOptions = takeoff.RunwayHeadingOptions;
// Opt to use the headwind runway
headingOptions.RunwayMode = AgEAvtrRunwayHighLowEnd.eHeadwind;

// Set the takeoff mode and get that interface
takeoff.TakeoffMode = AgEAvtrTakeoffMode.eTakeoffNormal;
IAgAvtrTakeoffNormal takeoffNormal = takeoff.ModeAsNormal;

// Set the takeoff climb angle
takeoffNormal.TakeoffClimbAngle = 5;
// Set the departure altitude above the runway
takeoffNormal.DepartureAltitude = 600;
// Set the altitude offset for the runway
takeoffNormal.RunwayAltitudeOffset = 10;
// Use terrain for the runway's altitude
takeoffNormal.UseRunwayTerrain = true;
Add a takeoff procedure from a runway
[Visual Basic .NET]
' Add a takeoff procedure with a runway as a site
Dim takeoff As IAgAvtrProcedureTakeoff = TryCast(procedures.Add(AgEAvtrSiteType.eSiteRunway, AgEAvtrProcedureType.eProcTakeoff), IAgAvtrProcedureTakeoff)

' Get the runway heading options
Dim headingOptions As IAgAvtrRunwayHeadingOptions = takeoff.RunwayHeadingOptions
' Opt to use the headwind runway
headingOptions.RunwayMode = AgEAvtrRunwayHighLowEnd.eHeadwind

' Set the takeoff mode and get that interface
takeoff.TakeoffMode = AgEAvtrTakeoffMode.eTakeoffNormal
Dim takeoffNormal As IAgAvtrTakeoffNormal = takeoff.ModeAsNormal

' Set the takeoff climb angle
takeoffNormal.TakeoffClimbAngle = 5
' Set the departure altitude above the runway
takeoffNormal.DepartureAltitude = 600
' Set the altitude offset for the runway
takeoffNormal.RunwayAltitudeOffset = 10
' Use terrain for the runway's altitude
takeoffNormal.UseRunwayTerrain = True
Add a takeoff procedure from a runway
[Python - STK API]
      # IAgAvtrProcedureCollection procedures: Procedure Collection object
# Add a takeoff procedure with a runway as a site
takeoff = procedures.Add(AgEAvtrSiteType.eSiteRunway, AgEAvtrProcedureType.eProcTakeoff)

# Get the runway heading options
headingOptions = takeoff.RunwayHeadingOptions
# Opt to use the headwind runway
headingOptions.RunwayMode = AgEAvtrRunwayHighLowEnd.eHeadwind

# Set the takeoff mode and get that interface
takeoff.TakeoffMode = AgEAvtrTakeoffMode.eTakeoffNormal
takeoffNormal = takeoff.ModeAsNormal

# Set the takeoff climb angle
takeoffNormal.TakeoffClimbAngle = 5
# Set the departure altitude above the runway
takeoffNormal.DepartureAltitude = 600
# Set the altitude offset for the runway
takeoffNormal.RunwayAltitudeOffset = 10
# Use terrain for the runway's altitude
takeoffNormal.UseRunwayTerrain = True

Add a takeoff procedure from a runway
[MATLAB]
% IAgAvtrProcedureCollection procedures: Procedure Collection object
% Add a takeoff procedure with a runway as a site
takeoff = procedures.Add('eSiteRunway', 'eProcTakeoff');

% Get the runway heading options
headingOptions = takeoff.RunwayHeadingOptions;
% Opt to use the headwind runway
headingOptions.RunwayMode = 'eHeadwind';

% Set the takeoff mode and get that interface
takeoff.TakeoffMode = 'eTakeoffNormal';
takeoffNormal = takeoff.ModeAsNormal;

% Set the takeoff climb angle
takeoffNormal.TakeoffClimbAngle = 5;
% Set the departure altitude above the runway
takeoffNormal.DepartureAltitude = 600;
% Set the altitude offset for the runway
takeoffNormal.RunwayAltitudeOffset = 10;
% Use terrain for the runway's altitude
takeoffNormal.UseRunwayTerrain = 1;


        
© 2024 Analytical Graphics, Inc. All Rights Reserved.