AGI STK Objects 11 Send comments on this topic.
AgESnLocation Enumeration
See Also  Example
Windows






Windows & Linux

Description

Sensor Location Type options.

Members

MemberValueDescription
eSnFixed0Fixed: the location of the sensor is defined using a fixed displacement vector with respect to the parent objects body frame.
eSn3DModel13D Model: the location of the sensor is defined using the sensor's 3D Graphics Vertex Offset properties.
eSn3DModelWithScale23D Model with Scale: the location of the sensor is defined using the sensor's 3D Graphics Vertex Offset properties. Location is computed using the scaled model defined for visualization.
eSnCenter3Center: the sensor is located at the center of its parent object.
eSnLocationCrdnPoint4Point: the sensor's location is based upon a Vector Geometry Tool point.

Example

Define fixed location
[C#]Copy Code
// Set sensor's location to fixed 
sensor.SetLocationType(AgESnLocation.eSnFixed); 
 
// Configure sensor location 
IAgPosition pos = sensor.LocationData as IAgPosition
pos.AssignCartesian(595.20, -110.124.6); 
 

Define fixed location
[Visual Basic .NET]Copy Code
' Set sensor's location to fixed
sensor.SetLocationType(AgESnLocation.eSnFixed)

' Configure sensor location
Dim pos As IAgPosition = TryCast(sensor.LocationData, IAgPosition)
pos.AssignCartesian(595.2, -110.12, 4.6)

© 2018 Analytical Graphics, Inc. All Rights Reserved.