AGI STK VGT 11 Send comments on this topic.
IAgCrdnPointFactory Interface





Description

A Factory object to create points.

Object Model




Public Methods

Public Method Create Creates a VGT point using the specified name, description and type.
Public Method CreatePointFixedOnCentralBody Creates a point fixed on a central body.
Public Method CreatePointPluginFromDisplayName Create a point component based on a COM point plugin. For information how to implement and register VGT plugins, see
Public Method IsTypeSupported Returns true if the type is supported.

Public Properties

Public Property AvailablePointPluginDisplayNames An array of display names associated with available point plugins. The elements of the array are strings. Display names are used to create VGT points based on COM plugins using method.

Example

Create a B-Plane point using selected target body.
[C#] Copy Code
// Create a B-Plane point using selected target body 
IAgCrdnPointBPlane point = (IAgCrdnPointBPlane)provider.Points.Factory.Create( 
    "PointName"string.Empty, AgECrdnPointType.eCrdnPointTypeBPlane); 
point.TargetBody.SetPath(TargetBody); 
 

Create a B-Plane point using selected target body.
[Visual Basic .NET] Copy Code
' Create a B-Plane point using selected target body
Dim point As IAgCrdnPointBPlane = DirectCast(provider.Points.Factory.Create("PointName", String.Empty, AgECrdnPointType.eCrdnPointTypeBPlane), IAgCrdnPointBPlane)
point.TargetBody.SetPath(TargetBody)

© 2016 All Rights Reserved.

STK Programming Interface 11.0.1