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






Windows & Linux

Description

A Factory object to create points.

Object Model




Public Methods

Public Method CreateCreates a VGT point using the specified name, description and type.
Public Method CreatePointFixedOnCentralBodyCreates a point fixed on a central body.
Public Method CreatePointPluginFromDisplayNameCreate a point component based on a COM point plugin. For information how to implement and register VGT plugins, see
Public Method IsTypeSupportedReturns true if the type is supported.

Public Properties

Public Property AvailablePointPluginDisplayNamesAn 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)

© 2018 Analytical Graphics, Inc. All Rights Reserved.