AGI STK Objects 11 Send comments on this topic.
SetPointingType Method (IAgSensor)
See Also 
PointingType





Description

Method to set the sensor's pointing type, using the AgESnPointing enumeration.

Note: you cannot specify the eSnPtExternal enumeration using this method. To set sensor pointing using an external file, you must use the SetPointingExternalFile method.

Syntax

[Visual Basic .NET]
Public Sub SetPointingType( _
   ByVal PointingType As AgESnPointing _
) 

[C#]
public void SetPointingType(
AgESnPointing PointingType
);

[Managed C++]
public: void SetPointingType(
AgESnPointing PointingType
);

[Java]
public  setPointingType(
AgESnPointing PointingType
);

[Unmanaged C++]
public: HRESULT SetPointingType(
AgESnPointing PointingType
);

Parameters

PointingType
Member Value Description
eSnPt3DModel 0 3D model: point a sensor along one of the available elements of the selected 3D Model.
eSnPtExternal 1 External: import a custom sensor pointing file.
eSnPtFixed 2 Fixed: model sensors that are fixed in the parent object's body coordinate frame, so that they always point in the same direction relative to the parent.
eSnPtFixedAxes 3 Fixed in axes: point a sensor with reference to a set of axes, using the selected orientation system.
eSnPtSpinning 4 Spinning: model radars, push broom sensors and other instruments that spin, scan or sweep over time.
eSnPtTargeted 5 Targeted: model sensors that track other objects.
eSnPtGrazingAlt 6 Grazing altitude: model a sensor so that the boresight vector will graze the central body at a specified altitude.

See Also

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1