AGI STK Objects 11 Send comments on this topic.
IAgLocationCrdnPoint Interface





Description

The location based upon a Vector Geometry Tool Point.

Public Properties

Public Property PointPath Location based upon a Vector Geometry Tool Point.

Interfaces

Implemented Interface
IAgLocationData

Example

Define location from Vector Geometry Tool point
[C#] Copy Code
// Set location type to VGT 
sensor.SetLocationType(AgESnLocation.eSnLocationCrdnPoint); 
 
// Get IAgLocationCrdnPoint interface 
IAgLocationCrdnPoint vgtPoint = sensor.LocationData as IAgLocationCrdnPoint; 
 
// point sensor to an already existing object 
vgtPoint.PointPath = "Facility/Facility1 Center"
 

Define location from Vector Geometry Tool point
[Visual Basic .NET] Copy Code
' Set location type to VGT
sensor.SetLocationType(AgESnLocation.eSnLocationCrdnPoint)

' Get IAgLocationCrdnPoint interface
Dim vgtPoint As IAgLocationCrdnPoint = TryCast(sensor.LocationData, IAgLocationCrdnPoint)

' point sensor to an already existing object
vgtPoint.PointPath = "Facility/Facility1 Center"

CoClasses that Implement IAgLocationCrdnPoint

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1